ports/175192: [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header

Yasuhiro KIMURA yasu at utahime.org
Mon Jan 14 18:04:50 UTC 2013


I misunderstood the meaning of LICENSE_FILE. So please commit attached
patch instead of previous ones.

Regards.

-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 310361)
+++ Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	c-sig
-# Date created:				30 May 2004
-# Whom:					KIMURA Yasuhiro <yasu at utahime.org>
-#
+# Created by: KIMURA Yasuhiro <yasu at utahime.org>
 # $FreeBSD$
-#
 
 PORTNAME=	c-sig
 PORTVERSION=	3.8
@@ -17,18 +13,26 @@
 MAINTAINER=	yasu at utahime.org
 COMMENT=	Signature insertion tool for Emacs
 
+LICENSE=	GPLv2
+
 USE_EMACS=	yes
 
 NO_WRKSUBDIR=	yes
+
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=	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}


More information about the freebsd-ports-bugs mailing list