pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/tripwire Needs pre-created directories.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a8299f06e8d
branches:  trunk
changeset: 533955:3a8299f06e8d
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Oct 09 12:49:23 2007 +0000

description:
Needs pre-created directories.

diffstat:

 security/tripwire/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 4a9383a653be -r 3a8299f06e8d security/tripwire/Makefile
--- a/security/tripwire/Makefile        Tue Oct 09 12:24:04 2007 +0000
+++ b/security/tripwire/Makefile        Tue Oct 09 12:49:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2006/10/04 21:58:15 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2007/10/09 12:49:23 rillig Exp $
 #
 
 DISTNAME=      tripwire-1.2
@@ -12,12 +12,13 @@
 
 ONLY_FOR_PLATFORM=     NetBSD-*-* FreeBSD-*-* SunOS-*-*
 
-
 PKG_SYSCONFSUBDIR=     tripwire
 OWN_DIRS=              ${PKG_SYSCONFDIR}/databases
 EGDIR=                 ${PREFIX}/share/examples/tripwire
 CONF_FILES=            ${EGDIR}/tripwire.conf ${PKG_SYSCONFDIR}/tripwire.conf
 
+INSTALLATION_DIRS_FROM_PLIST=  yes
+
 post-extract:
        cd ${WRKDIR} && ${PAX} -O -rf T1.2.tar
        ${CP} ${FILESDIR}/conf-${LOWER_OPSYS}.h ${WRKSRC}/configs
@@ -32,8 +33,6 @@
 PRE_ROOT_CMD=  ${CHMOD} -R go+rwx ${WRKDIR}
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tripwire
-       ${INSTALL_DATA_DIR} ${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/docs/designdoc.ps ${PREFIX}/share/doc/tripwire
        ${SED} -e 's|@localbase@|${LOCALBASE}|g' -e 's|@x11base@|${X11BASE}|g' \
                ${FILESDIR}/tw.conf.${LOWER_OPSYS} > ${EGDIR}/tripwire.conf



Home | Main Index | Thread Index | Old Index