summaryrefslogtreecommitdiff
path: root/www/wwwoffle/Makefile
diff options
context:
space:
mode:
authortron <tron>1999-04-20 20:06:49 +0000
committertron <tron>1999-04-20 20:06:49 +0000
commit6eb4416435fa24f5c086e94a68263f323cd6d9aa (patch)
treedd26b9455f9f5f68582c7fea76e06bd77cdd8cb6 /www/wwwoffle/Makefile
parent359182b35e242a4ef6f208254616e821316c1534 (diff)
downloadpkgsrc-6eb4416435fa24f5c086e94a68263f323cd6d9aa.tar.gz
Remove kludge which tries to add "/var/wwwoffle" to package list. Instead
of that we create a tar archive with the spool directory layout which will be extracted during installation of the binary package.
Diffstat (limited to 'www/wwwoffle/Makefile')
-rw-r--r--www/wwwoffle/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 4b66a8c322b..84840958fa5 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1999/02/20 22:48:46 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 1999/04/20 20:06:49 tron Exp $
DISTNAME= wwwoffle-2.2
CATEGORIES= www
@@ -15,9 +15,9 @@ NO_CONFIGURE= yes
PLIST_SRC= ${WRKDIR}/PLIST
post-build:
- @${SED} s#@PREFIX@#${PREFIX}#g <${FILESDIR}/wwwoffle.sh \
+ @${SED} -e 's#@PREFIX@#${PREFIX}#g' <${FILESDIR}/wwwoffle.sh \
>${WRKDIR}/wwwoffle.sh
- @${SH} ${SCRIPTDIR}/plist ${PREFIX} ${PKGDIR}/PLIST ${PLIST_SRC}
+ @${SED} -e 's#@GTAR@#${GTAR}#g' <${PKGDIR}/PLIST >${PLIST_SRC}
pre-install:
${MKDIR} ${PREFIX}/etc/wwwoffle
@@ -26,5 +26,6 @@ post-install:
${CP} ${PREFIX}/etc/wwwoffle/wwwoffle.conf \
${PREFIX}/etc/wwwoffle/wwwoffle.conf.default
${INSTALL_SCRIPT} ${WRKDIR}/wwwoffle.sh ${PREFIX}/etc/rc.d
+ ${GTAR} czCf / ${PREFIX}/libdata/wwwoffle-spool.tar.gz var/wwwoffle
.include "../../mk/bsd.pkg.mk"