summaryrefslogtreecommitdiff
path: root/security/tripwire/Makefile
diff options
context:
space:
mode:
authoragc <agc>1999-04-09 10:46:55 +0000
committeragc <agc>1999-04-09 10:46:55 +0000
commitbd5b0f3163bd5888ec3f745d40643eeeeccc39c4 (patch)
tree3f6943acbbea32db305036a3641fcf486ca8a956 /security/tripwire/Makefile
parentfa6487931be6b92a7ef8414c5fcf0f68e6df62ad (diff)
downloadpkgsrc-bd5b0f3163bd5888ec3f745d40643eeeeccc39c4.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'security/tripwire/Makefile')
-rw-r--r--security/tripwire/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile
index f97d5bfa579..2f8de540987 100644
--- a/security/tripwire/Makefile
+++ b/security/tripwire/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1998/11/17 16:27:25 agc Exp $
+# $NetBSD: Makefile,v 1.2 1999/04/09 10:46:55 agc Exp $
#
DISTNAME= tripwire-1.2
@@ -11,17 +11,20 @@ HOMEPAGE= http://www.cs.purdue.edu/coast/coast-library.html
post-extract:
(cd ${WRKDIR}; /bin/pax -r < T1.2.tar)
- ${CP} ${FILESDIR}/conf-netbsd.h ${WRKSRC}/configs
+ ${CP} ${FILESDIR}/conf-${LOWER_OPSYS}.h ${WRKSRC}/configs
post-patch:
${MV} ${WRKSRC}/include/config.h ${WRKSRC}/include/config.h.in
- ${SED} -e 's|@localbase@|${LOCALBASE}|g' ${WRKSRC}/include/config.h.in \
- > ${WRKSRC}/include/config.h
+ ${SED} -e 's|@localbase@|${LOCALBASE}|g' \
+ -e 's|@LOWER_OPSYS@|${LOWER_OPSYS}|g' \
+ ${WRKSRC}/include/config.h.in > ${WRKSRC}/include/config.h
+
+PRE_ROOT_CMD= ${CHMOD} -R go+rwx ${WRKDIR}
post-install:
${MKDIR} ${PREFIX}/share/doc/tripwire ${PREFIX}/etc/tripwire/databases
${INSTALL_MAN} ${WRKSRC}/docs/designdoc.ps ${PREFIX}/share/doc/tripwire
${SED} -e 's|@localbase@|${LOCALBASE}|g' -e 's|@x11base@|${X11BASE}|g' \
- ${FILESDIR}/tw.conf.netbsd > ${PREFIX}/etc/tripwire/tripwire.conf
+ ${FILESDIR}/tw.conf.${LOWER_OPSYS} > ${PREFIX}/etc/tripwire/tripwire.conf
.include "../../mk/bsd.pkg.mk"