aboutsummaryrefslogtreecommitdiffstats
path: root/mail/c-sig
diff options
context:
space:
mode:
authoranray <anray@FreeBSD.org>2007-10-03 03:05:50 +0800
committeranray <anray@FreeBSD.org>2007-10-03 03:05:50 +0800
commit6ff1d9474c95cab3e72c0c8b108e06efbedfcff9 (patch)
tree984ae2a43a809aa668d271f910256fb38b99d1dd /mail/c-sig
parent1ff2b81a8e3080f75ae22570b13153b25e35b959 (diff)
downloadfreebsd-ports-gnome-6ff1d9474c95cab3e72c0c8b108e06efbedfcff9.tar.gz
freebsd-ports-gnome-6ff1d9474c95cab3e72c0c8b108e06efbedfcff9.tar.zst
freebsd-ports-gnome-6ff1d9474c95cab3e72c0c8b108e06efbedfcff9.zip
- Add byte-compilation for c-sig.
PR: ports/116796 Submitted by: KIMURA Yasuhiro (maintainer)
Diffstat (limited to 'mail/c-sig')
-rw-r--r--mail/c-sig/Makefile12
-rw-r--r--mail/c-sig/pkg-plist4
2 files changed, 9 insertions, 7 deletions
diff --git a/mail/c-sig/Makefile b/mail/c-sig/Makefile
index c4ec48aba162..ab290ade89b2 100644
--- a/mail/c-sig/Makefile
+++ b/mail/c-sig/Makefile
@@ -7,7 +7,7 @@
PORTNAME= c-sig
PORTVERSION= 3.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail elisp
MASTER_SITES= http://www.threeweb.ad.jp/~kshibata/c-sig/programs/
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@@ -18,15 +18,15 @@ COMMENT= Signature insertion tool for Emacs
USE_EMACS= yes
-EMACS_NO_BUILD_DEPENDS= yes
-
NO_WRKSUBDIR= yes
-NO_BUILD= yes
-LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+
+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}
+ ${INSTALL_DATA} ${WRKSRC}/c-sig.el* ${LISPDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in c-sig-eng.faq c-sig-eng.man c-sig-jp.faq c-sig-jp.man
diff --git a/mail/c-sig/pkg-plist b/mail/c-sig/pkg-plist
index 0b3527f77714..a71f1207c2f2 100644
--- a/mail/c-sig/pkg-plist
+++ b/mail/c-sig/pkg-plist
@@ -1,4 +1,6 @@
-%%EMACS_VERSION_SITE_LISPDIR%%/c-sig.el
+%%EMACS_VERSION_SITE_LISPDIR%%/c-sig/c-sig.el
+%%EMACS_VERSION_SITE_LISPDIR%%/c-sig/c-sig.elc
+@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/c-sig
%%PORTDOCS%%%%DOCSDIR%%/c-sig-eng.faq
%%PORTDOCS%%%%DOCSDIR%%/c-sig-eng.man
%%PORTDOCS%%%%DOCSDIR%%/c-sig-jp.faq