pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/tracker Generate the info file during the build ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fc498ecd4a0
branches:  trunk
changeset: 509883:5fc498ecd4a0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Mar 17 08:06:51 2006 +0000

description:
Generate the info file during the build phase instead of the install
phase.

diffstat:

 audio/tracker/Makefile |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (35 lines):

diff -r 4abfc9a692e6 -r 5fc498ecd4a0 audio/tracker/Makefile
--- a/audio/tracker/Makefile    Fri Mar 17 08:04:15 2006 +0000
+++ b/audio/tracker/Makefile    Fri Mar 17 08:06:51 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2006/03/09 21:04:42 jlam Exp $
+# $NetBSD: Makefile,v 1.40 2006/03/17 08:06:51 jlam Exp $
 
 DISTNAME=              tracker-5.3
 PKGREVISION=           1
@@ -29,19 +29,18 @@
 USE_TOOLS+=    makeinfo
 INFO_FILES=    tracker.info
 
-INSTALLATION_DIRS=     bin info
+INSTALLATION_DIRS=     bin info ${EGDIR}
 
 .include "../../mk/oss.buildlink3.mk"
 
-pre-install:
-       cd ${WRKSRC}/Docs && \
-       ${MAKEINFO} --no-split tracker.texinfo -o tracker.info && \
-       ${CP} tracker.info ${PREFIX}/info && \
-       ${RM} -f tracker.info *.orig
-       ${INSTALL_DATA_DIR} ${EGDIR}
+post-build:
+       cd ${WRKSRC}/Docs; ${MAKEINFO} tracker.texinfo;                 \
+       ${MV} -f tracker.info* ${WRKDIR};                               \
+       ${RM} *.orig
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tracker
        ${CP} -R ${WRKSRC}/Docs/* ${PREFIX}/share/doc/tracker
+       ${INSTALL_DATA} ${WRKDIR}/tracker.info* ${PREFIX}/info
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index