summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2000-08-04 13:09:16 +0000
committermartin <martin@pkgsrc.org>2000-08-04 13:09:16 +0000
commitdea55f7374e53dfaca7f38de8cc81eac7d5d224a (patch)
treed954658367c7ea1da2e9254925f3d4263080130f /net
parentd118a0c3b9c298ce79f151eea0ae7ae8ab1fc6d5 (diff)
downloadpkgsrc-dea55f7374e53dfaca7f38de8cc81eac7d5d224a.tar.gz
Minor cleanup while trying to make it actually work with XEmacs.
Diffstat (limited to 'net')
-rw-r--r--net/zenicb/Makefile11
-rw-r--r--net/zenicb/files/md52
-rw-r--r--net/zenicb/pkg/PLIST30
3 files changed, 24 insertions, 19 deletions
diff --git a/net/zenicb/Makefile b/net/zenicb/Makefile
index 7f57b702820..ceed4d1fd79 100644
--- a/net/zenicb/Makefile
+++ b/net/zenicb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 1999/12/28 15:43:15 tron Exp $
+# $NetBSD: Makefile,v 1.7 2000/08/04 13:09:16 martin Exp $
#
DISTNAME= zenicb-19981202
@@ -14,6 +14,7 @@ MIRROR_DISTFILE= no
.if defined(USE_XEMACS)
EMACS= xemacs
DEPENDS+= xemacs-*:../../editors/xemacs
+MAKEFLAGS+= USE_XEMACS=${USE_XEMACS}
.else
EMACS= emacs
DEPENDS+= emacs-*:../../editors/emacs
@@ -21,13 +22,17 @@ DEPENDS+= emacs-*:../../editors/emacs
ELISPDIR= ${PREFIX}/share/${EMACS}/site-lisp
-PLIST_SRC= ${WRKDIR}/PLIST.tmp
+PLIST_SUBST+= EMACS=${EMACS}
pre-configure:
+.if defined(USE_XEMACS)
+ @${ECHO} "You have chosen Xemacs configuration."
+.else
@${ECHO} "To install for Xemacs, set the environment variable USE_XEMACS."
+.endif
pre-install:
- ${SED} -e "s/@EMACS@/${EMACS}/g" ${PKGDIR}/PLIST > ${PLIST_SRC}
+ ${MKDIR} ${ELISPDIR}
do-build:
diff --git a/net/zenicb/files/md5 b/net/zenicb/files/md5
index 64381ae2ef0..804525c5e73 100644
--- a/net/zenicb/files/md5
+++ b/net/zenicb/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.1.1.1 1998/12/09 06:18:21 thorpej Exp $
+$NetBSD: md5,v 1.2 2000/08/04 13:09:17 martin Exp $
MD5 (zenicb-19981202.tar.gz) = 542dc7145fa7645f879f382666c74e8e
diff --git a/net/zenicb/pkg/PLIST b/net/zenicb/pkg/PLIST
index 3ced6c29ca1..87900f51455 100644
--- a/net/zenicb/pkg/PLIST
+++ b/net/zenicb/pkg/PLIST
@@ -1,15 +1,15 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 1998/12/09 06:18:21 thorpej Exp $
-share/@EMACS@/site-lisp/zenicb-8ball.el
-share/@EMACS@/site-lisp/zenicb-add.el
-share/@EMACS@/site-lisp/zenicb-away.el
-share/@EMACS@/site-lisp/zenicb-example.el
-share/@EMACS@/site-lisp/zenicb-fortran.el
-share/@EMACS@/site-lisp/zenicb-history.el
-share/@EMACS@/site-lisp/zenicb-meditate.el
-share/@EMACS@/site-lisp/zenicb-nologout.el
-share/@EMACS@/site-lisp/zenicb-signal.el
-share/@EMACS@/site-lisp/zenicb-stamp.el
-share/@EMACS@/site-lisp/zenicb-trigger.el
-share/@EMACS@/site-lisp/zenicb-whereis.el
-share/@EMACS@/site-lisp/zenicb-yow.el
-share/@EMACS@/site-lisp/zenicb.el
+@comment $NetBSD: PLIST,v 1.2 2000/08/04 13:09:17 martin Exp $
+share/${EMACS}/site-lisp/zenicb-8ball.el
+share/${EMACS}/site-lisp/zenicb-add.el
+share/${EMACS}/site-lisp/zenicb-away.el
+share/${EMACS}/site-lisp/zenicb-example.el
+share/${EMACS}/site-lisp/zenicb-fortran.el
+share/${EMACS}/site-lisp/zenicb-history.el
+share/${EMACS}/site-lisp/zenicb-meditate.el
+share/${EMACS}/site-lisp/zenicb-nologout.el
+share/${EMACS}/site-lisp/zenicb-signal.el
+share/${EMACS}/site-lisp/zenicb-stamp.el
+share/${EMACS}/site-lisp/zenicb-trigger.el
+share/${EMACS}/site-lisp/zenicb-whereis.el
+share/${EMACS}/site-lisp/zenicb-yow.el
+share/${EMACS}/site-lisp/zenicb.el