From 452d4c9a8026d427609fe257bf53e1a4b494beea Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 12 Aug 2008 14:39:12 +0000 Subject: Precreate missing directories. Prepare for destdir. --- net/mrt/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/mrt') diff --git a/net/mrt/Makefile b/net/mrt/Makefile index 5643e7a5518..bf8bdb3dea2 100644 --- a/net/mrt/Makefile +++ b/net/mrt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2008/06/16 14:54:41 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2008/08/12 14:39:12 joerg Exp $ # DISTNAME= mrt-2.2.2a-Aug11 @@ -16,7 +16,7 @@ GNU_CONFIGURE= yes PLIST_SRC= ${WRKSRC}/.PLIST_SRC -INSTALLATION_DIRS= sbin share/examples/mrt +INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/examples/mrt # nuke yet-to-be-ready directories, configure.in is written in a strange way post-extract: @@ -26,9 +26,9 @@ post-install: ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} ${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \ ${DESTDIR}${PREFIX}/share/examples/mrt - (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \ + (cd ${DESTDIR}${PREFIX}; ${FIND} share/examples/mrt -type f -print \ >> ${PLIST_SRC}) - (cd ${PREFIX}; ${FIND} share/examples/mrt -type d -print | \ + (cd ${DESTDIR}${PREFIX}; ${FIND} share/examples/mrt -type d -print | \ ${SORT} -r | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3