summaryrefslogtreecommitdiff
path: root/misc/dotfile
diff options
context:
space:
mode:
authorrillig <rillig>2006-12-01 20:41:22 +0000
committerrillig <rillig>2006-12-01 20:41:22 +0000
commit029be5054fee3df4666507248abafec934e77648 (patch)
treee60ae31e7787b92dbc01de4a6b6d10c9d3d9ba1f /misc/dotfile
parent23fddc64fafc7a7e5dff4b674fa7bdbb5fc6ac99 (diff)
downloadpkgsrc-029be5054fee3df4666507248abafec934e77648.tar.gz
Fixed the case of makeHelp.orig being installed. When NO_BUILD is set,
overriding the pre-build or post-build targets has no effect.
Diffstat (limited to 'misc/dotfile')
-rw-r--r--misc/dotfile/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/dotfile/Makefile b/misc/dotfile/Makefile
index 38923fe04a4..dff0826cf36 100644
--- a/misc/dotfile/Makefile
+++ b/misc/dotfile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/11/24 23:05:56 wiz Exp $
+# $NetBSD: Makefile,v 1.30 2006/12/01 20:41:22 rillig Exp $
DISTNAME= dotfile-2.4.1
PKGREVISION= 2
@@ -22,12 +22,12 @@ GNU_CONFIGURE= yes
NO_BUILD= yes
MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}/man1
-post-build:
- rm -f ${WRKSRC}/Generator/makeHelp
+pre-install:
+ rm -f ${WRKSRC}/Generator/makeHelp.orig
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGNAME_NOREV}
- cd ${WRKSRC:Q}/Doc && ${PAX} -rw -s ',.*\.orig$$,,' . ${PREFIX}/share/doc/${PKGNAME_NOREV}
+ cd ${WRKSRC:Q}/Doc && ${PAX} -rw . ${PREFIX}/share/doc/${PKGNAME_NOREV}
${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${PREFIX}/share/doc/${PKGNAME_NOREV}
.include "../../mk/bsd.pkg.mk"