aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ilu
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1997-10-03 17:16:36 +0800
committerasami <asami@FreeBSD.org>1997-10-03 17:16:36 +0800
commit57660f6d773c674caea17f5c0db8bf3c11b33f30 (patch)
treef776ca3c427ca2f7ab035f8a202fca4d8c3116f3 /devel/ilu
parent523f0f0a64885ec75d3dc791dad772a3cf415d52 (diff)
downloadfreebsd-ports-gnome-57660f6d773c674caea17f5c0db8bf3c11b33f30.tar.gz
freebsd-ports-gnome-57660f6d773c674caea17f5c0db8bf3c11b33f30.tar.zst
freebsd-ports-gnome-57660f6d773c674caea17f5c0db8bf3c11b33f30.zip
Instead of creating a whole new ${PKGDIR}, just specify ${PLIST} to point
to ${WRKSRC}/PLIST and build it there. COMMENT and DESCR will be picked up from their default locations.
Diffstat (limited to 'devel/ilu')
-rw-r--r--devel/ilu/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile
index 03b3337c6202..c35fffe78e73 100644
--- a/devel/ilu/Makefile
+++ b/devel/ilu/Makefile
@@ -3,7 +3,7 @@
# Date created: 29.9.1997
# Whom: cracauer@cons.org "Martin Cracauer"
#
-# $Id: Makefile,v 1.1.1.1 1997/10/01 08:12:53 cracauer Exp $
+# $Id: Makefile,v 1.2 1997/10/02 04:03:30 asami Exp $
#
DISTNAME= ilu-2.0alpha11
@@ -18,35 +18,29 @@ HAS_CONFIGURE= yes
# ILU 2.0alpha11 doesn't compile with FreeBSD jdk-1.1 port
CONFIGURE_ARGS= --disable-java-support --enable-http-protocol
-PKGDIR= var-pkg
-
INSTALL_TARGET= Install
NOMANCOMPRESS=
+PLIST= ${WRKSRC}/PLIST
post-install:
# Empty dirs
${RMDIR} ${PREFIX}/ilu/man/man[358]
${RMDIR} ${PREFIX}/ilu/lisp
-.if !exists(var-pkg)
- ${MKDIR} var-pkg
-.endif
- ${CP} pkg/COMMENT var-pkg/.
- ${CP} pkg/DESCR var-pkg/.
- (cd ${PREFIX} ; find ilu -type f) > var-pkg/PLIST
+ (cd ${PREFIX} ; find ilu -type f) > ${PLIST}
(cd ${PREFIX} ; find ilu -type d) | ${AWK} '{print "@dirrm " $$1}' \
- | tail -r >> var-pkg/PLIST
+ | tail -r >> ${PLIST}
(cd ${PREFIX}/ilu/bin ; for file in * ; do \
ln -fs ${PREFIX}/ilu/bin/$$file ${PREFIX}/bin/. ; \
${ECHO} @exec ln -fs %D/ilu/bin/$$file %D/bin/. ; \
${ECHO} @unexec ${RM} %D/bin/$$file ; \
- done) >> var-pkg/PLIST
+ done) >> ${PLIST}
(cd ${PREFIX}/ilu/man/man1 ; for file in * ; do \
ln -fs ${PREFIX}/ilu/man/man1/$$file ${PREFIX}/man/man1/. ; \
${ECHO} @exec ln -fs %D/ilu/man/man1/$$file %D/man/man1/. ; \
${ECHO} @unexec ${RM} %D/man/man1/$$file ; \
- done) >> var-pkg/PLIST
+ done) >> ${PLIST}
# Empty dir, but we really need it
- ${ECHO} @exec ${MKDIR} %D/ilu/lib/binding >> var-pkg/PLIST
- ${ECHO} @exec chmod 777 %D/ilu/lib/binding >> var-pkg/PLIST
+ ${ECHO} @exec ${MKDIR} %D/ilu/lib/binding >> ${PLIST}
+ ${ECHO} @exec chmod 777 %D/ilu/lib/binding >> ${PLIST}
.include <bsd.port.mk>