summaryrefslogtreecommitdiff
path: root/audio/tracker
diff options
context:
space:
mode:
authorjlam <jlam>2006-03-17 08:06:51 +0000
committerjlam <jlam>2006-03-17 08:06:51 +0000
commit84a008bac73374b7d0cbd6d80fa02e20269b982f (patch)
tree8bae501fa619d10eabdd3afd9aba0be4e80735f2 /audio/tracker
parent0f08d3627c969de8298a401e8cbbdb8220d851f0 (diff)
downloadpkgsrc-84a008bac73374b7d0cbd6d80fa02e20269b982f.tar.gz
Generate the info file during the build phase instead of the install
phase.
Diffstat (limited to 'audio/tracker')
-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"