- adopt optionsNG, define LICENSE, trim historical header

PR:		175192
Submitted by:	maintainer, yasu@utahime.org
This commit is contained in:
Jason Helfman 2013-01-15 21:42:12 +00:00
parent 0fb0a4f47c
commit 31d3a51f34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310464

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: c-sig
# Date created: 30 May 2004
# Whom: KIMURA Yasuhiro <yasu@utahime.org>
#
# Created by: KIMURA Yasuhiro <yasu@utahime.org>
# $FreeBSD$
#
PORTNAME= c-sig
PORTVERSION= 3.8
@ -17,18 +13,25 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= yasu@utahime.org
COMMENT= Signature insertion tool for Emacs
LICENSE= GPLv2
USE_EMACS= yes
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= DOCS
LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC}; ${EMACS_CMD} -batch -q -f batch-byte-compile c-sig.el
do-install:
${MKDIR} ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/c-sig.el* ${LISPDIR}
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for file in c-sig-eng.faq c-sig-eng.man c-sig-jp.faq c-sig-jp.man
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}