summaryrefslogtreecommitdiff
path: root/lang/gforth
diff options
context:
space:
mode:
authoritohy <itohy>2000-05-09 23:33:40 +0000
committeritohy <itohy>2000-05-09 23:33:40 +0000
commit6d52709112b328e7fac85ee232d74cde6003a997 (patch)
tree751f935d094a4c2264e6d45e8eb56e0cf2ca9bc2 /lang/gforth
parent9d95f20bfdc6c479f2bb9ef92a5c64fb36e90dca (diff)
downloadpkgsrc-6d52709112b328e7fac85ee232d74cde6003a997.tar.gz
Fix installation of info dir.
Add gforth.el. Fix @dirrm order.
Diffstat (limited to 'lang/gforth')
-rw-r--r--lang/gforth/Makefile7
-rw-r--r--lang/gforth/pkg/PLIST10
2 files changed, 12 insertions, 5 deletions
diff --git a/lang/gforth/Makefile b/lang/gforth/Makefile
index 5fe23087cf1..08bf9fa14a9 100644
--- a/lang/gforth/Makefile
+++ b/lang/gforth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/04/11 06:54:45 itohy Exp $
+# $NetBSD: Makefile,v 1.5 2000/05/09 23:33:40 itohy Exp $
DISTNAME= gforth-0.4.0
CATEGORIES= lang
@@ -10,6 +10,8 @@ HOMEPAGE= http://www.complang.tuwien.ac.at/forth/gforth/
ONLY_FOR_PLATFORM= *-*-i386 *-*-m68k
GNU_CONFIGURE= YES
+# Make sure elisp will be installed even if no emacs installed.
+CONFIGURE_ENV+= EMACS=${PREFIX}/bin/emacs
INFO_FILES= gforth.info
PLIST_SRC= ${WRKDIR}/PLIST
@@ -22,4 +24,7 @@ post-build:
@k=${KERNEL_FI} && ${ECHO} "using kernel image: $$k" && \
${SED} -e "s/@KERNEL_FI@/$$k/g" <${PKGDIR}/PLIST >${PLIST_SRC}
+pre-install:
+ ${MKDIR} ${PREFIX}/share/emacs/site-lisp
+
.include "../../mk/bsd.pkg.mk"
diff --git a/lang/gforth/pkg/PLIST b/lang/gforth/pkg/PLIST
index 9a165cae5ac..0f2feb59ff9 100644
--- a/lang/gforth/pkg/PLIST
+++ b/lang/gforth/pkg/PLIST
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.3 2000/04/11 06:54:46 itohy Exp $
+@comment $NetBSD: PLIST,v 1.4 2000/05/09 23:33:41 itohy Exp $
bin/${PKGNAME}
bin/gforth
bin/gforthmi-0.4.0
bin/gforthmi
-@unexec install-info --delete
+@unexec install-info --delete %D/info/gforth.info %D/info/dir
info/gforth.info
info/gforth.info-1
info/gforth.info-2
@@ -13,9 +13,11 @@ info/gforth.info-5
info/gforth.info-6
info/gforth.info-7
info/gforth.info-8
-@exec install-info
+@exec install-info %D/info/gforth.info %D/info/dir
lib/gforth/0.4.0/gforth.fi
man/man1/gforth.1
+share/emacs/site-lisp/gforth.el
+@unexec cd %D/share && rmdir -p emacs/site-lisp; :
share/gforth/0.4.0/hash.fs
share/gforth/0.4.0/kernel/aliases0.fs
share/gforth/0.4.0/kernel/aliases.fs
@@ -153,9 +155,9 @@ share/gforth/0.4.0/moof-exm.fs
share/gforth/0.4.0/@KERNEL_FI@
share/gforth/0.4.0/TAGS
share/gforth/site-forth/siteinit.fs
-@dirrm lib/gforth
@dirrm lib/gforth/site-forth
@dirrm lib/gforth/0.4.0
+@dirrm lib/gforth
@dirrm share/gforth/site-forth
@dirrm share/gforth/0.4.0/compat
@dirrm share/gforth/0.4.0/test