summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-03-17 08:06:51 +0000
committerjlam <jlam@pkgsrc.org>2006-03-17 08:06:51 +0000
commit9a88a317f6ac90c3530bbac5614e4a886a2d062d (patch)
tree8bae501fa619d10eabdd3afd9aba0be4e80735f2
parentb499303dc5e481608602f300075482a72df39940 (diff)
downloadpkgsrc-9a88a317f6ac90c3530bbac5614e4a886a2d062d.tar.gz
Generate the info file during the build phase instead of the install
phase.
-rw-r--r--audio/tracker/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/audio/tracker/Makefile b/audio/tracker/Makefile
index b13cd8e1cbf..b041e1877f3 100644
--- a/audio/tracker/Makefile
+++ b/audio/tracker/Makefile
@@ -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 @@ CONF_FILES= ${EGDIR}/compression_methods ${PKG_SYSCONFDIR}/compression_methods
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"