summaryrefslogtreecommitdiff
path: root/misc/dotfile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-12-01 20:41:22 +0000
committerrillig <rillig@pkgsrc.org>2006-12-01 20:41:22 +0000
commita9d025fbb36b24e642b7afca8e45afa411d1951c (patch)
treee60ae31e7787b92dbc01de4a6b6d10c9d3d9ba1f /misc/dotfile
parent6abb0e08a22ead278b4c0887f54b6899cbe261b1 (diff)
downloadpkgsrc-a9d025fbb36b24e642b7afca8e45afa411d1951c.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"