aboutsummaryrefslogtreecommitdiff
path: root/mail/c-sig
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-01-15 21:42:12 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-01-15 21:42:12 +0000
commit31d3a51f343b39b0e06e9abaec29718cc9efdc29 (patch)
tree9291c7810e9c7afe6f8969bce4f2a9f4e8122ffc /mail/c-sig
parent0fb0a4f47c7a8677ed284f2b390d3f6e6fcde94f (diff)
downloadports-31d3a51f343b39b0e06e9abaec29718cc9efdc29.tar.gz
ports-31d3a51f343b39b0e06e9abaec29718cc9efdc29.zip
Notes
Diffstat (limited to 'mail/c-sig')
-rw-r--r--mail/c-sig/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/mail/c-sig/Makefile b/mail/c-sig/Makefile
index 0bff147e1cbe..c8c07fdfd65e 100644
--- a/mail/c-sig/Makefile
+++ b/mail/c-sig/Makefile
@@ -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}