pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/dotfile Fixed the case of makeHelp.orig being ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39048fc5e539
branches:  trunk
changeset: 522066:39048fc5e539
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Dec 01 20:41:22 2006 +0000

description:
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:

 misc/dotfile/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r 039bf2f6e872 -r 39048fc5e539 misc/dotfile/Makefile
--- a/misc/dotfile/Makefile     Fri Dec 01 20:30:17 2006 +0000
+++ b/misc/dotfile/Makefile     Fri Dec 01 20:41:22 2006 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index