diff options
author | adam <adam@FreeBSD.org> | 1995-10-20 08:52:08 +0000 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1995-10-20 08:52:08 +0000 |
commit | 4ec83464112594193698a450dec5ee9a06d4de19 (patch) | |
tree | a12eb54598a285ef7848fb84c980c007fe3ca7a5 /www/gn/Makefile | |
parent | 82a61f26d559d6b6af048e1c45e4f27def5f7ba0 (diff) | |
download | FreeBSD-ports-4ec83464112594193698a450dec5ee9a06d4de19.zip FreeBSD-ports-4ec83464112594193698a450dec5ee9a06d4de19.tar.gz |
Version update, and comment about NO_PACKAGE because of compiled in defaults
Reviewed by: asami (green light in code freeze)
Diffstat (limited to 'www/gn/Makefile')
-rw-r--r-- | www/gn/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/www/gn/Makefile b/www/gn/Makefile index f851f7b..9128916 100644 --- a/www/gn/Makefile +++ b/www/gn/Makefile @@ -3,15 +3,19 @@ # Date created: 20 Sep 1994 # Whom: adam # -# $Id: Makefile,v 1.8 1995/05/04 23:29:05 adam Exp $ +# $Id: Makefile,v 1.9 1995/05/05 20:07:55 adam Exp $ # -DISTNAME= gn-2.22 +DISTNAME= gn-2.23 CATEGORIES+= networking MASTER_SITES= ftp://ftp.acns.nwu.edu/pub/gn/ -DEPENDS= ${PORTSDIR}/net/wais +WAISDIR= ${PORTSDIR}/net/wais/work/freeWAIS-0.3 +BUILD_DEPENDS= ${WAISDIR}/bin/waisindex:${PORTSDIR}/net/wais + IS_INTERACTIVE= yes +# This quaint mechanism is for forcing package creation from a staging area. +# There is normally no package creation, because of compiled-in defaults. .if !defined(YES_PACKAGE) YES_INSTALL= NO_PACKAGE= @@ -21,8 +25,8 @@ INETD_CONF= /etc/inetd.conf CONF= ' stream tcp nowait nobody /usr/local/libexec/gn gn' pre-build: - @ln -fs ${PORTSDIR}/net/wais/work/freeWAIS-0.3/ir ${WRKSRC}/waisgn - @ln -fs ${PORTSDIR}/net/wais/work/freeWAIS-0.3/bin ${WRKSRC}/waisgn + @ln -fs ${WAISDIR}/ir ${WRKSRC}/waisgn + @ln -fs ${WAISDIR}/bin ${WRKSRC}/waisgn pre-install: @mkdir -p ${WRKSRC}/etc ${WRKSRC}/libexec ${WRKSRC}/gnroot @@ -45,7 +49,7 @@ post-install: exit 0; \ }; \ fi; \ - tar -cf - -C ${WRKSRC} gnroot | tar xpf - && \ + tar -cf - -C ${WRKSRC} gnroot libexec bin etc | tar xpf - && \ (cd gnroot; ${WRKSRC}/bin/mkcache -r); \ awk '$$1 == "gopher" { exit 1 }' ${INETD_CONF} || { \ echo gopher${CONF} >>${INETD_CONF}; \ |