ports/175192: [MAINTAINER] mail/c-sig: OptionsNG-fy and trim makefile header
KIMURA Yasuhiro
yasu at utahime.org
Fri Jan 11 13:59:16 UTC 2013
License information is added. So please commit attached patch instead
of original one.
Regards.
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile (revision 310228)
+++ Makefile (working copy)
@@ -1,9 +1,4 @@
-# New ports collection makefile for: c-sig
-# Date created: 30 May 2004
-# Whom: KIMURA Yasuhiro <yasu at utahime.org>
-#
# $FreeBSD$
-#
PORTNAME= c-sig
PORTVERSION= 3.8
@@ -17,18 +12,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