diff options
author | rillig <rillig@pkgsrc.org> | 2006-12-01 20:41:22 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-12-01 20:41:22 +0000 |
commit | 299b5e3f2b8129f749071bab6259a418e8a6c96e (patch) | |
tree | e60ae31e7787b92dbc01de4a6b6d10c9d3d9ba1f /misc/dotfile | |
parent | 8d5ac96996a75ffa966bb3f1795cab74becf8f4f (diff) | |
download | pkgsrc-299b5e3f2b8129f749071bab6259a418e8a6c96e.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/Makefile | 8 |
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" |