aboutsummaryrefslogtreecommitdiff
path: root/audio/csound-manual
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2004-04-18 20:59:46 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2004-04-18 20:59:46 +0000
commitd37bd78b248661353748b87daa172c40840e38f5 (patch)
tree06aeb63a45a5a3f2b69bffe7e0409b28ee31138a /audio/csound-manual
parent6d9bab89320b9cb0dbccabf12c39ee4cef89b0b1 (diff)
downloadports-d37bd78b248661353748b87daa172c40840e38f5.tar.gz
ports-d37bd78b248661353748b87daa172c40840e38f5.zip
Notes
Diffstat (limited to 'audio/csound-manual')
-rw-r--r--audio/csound-manual/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/audio/csound-manual/Makefile b/audio/csound-manual/Makefile
index 1794e9cc4e4d..516a6ad01a78 100644
--- a/audio/csound-manual/Makefile
+++ b/audio/csound-manual/Makefile
@@ -24,16 +24,19 @@ RUN_DEPENDS= csound:${PORTSDIR}/audio/csound
NO_BUILD= yes
NO_MTREE= yes
PLIST= ${WRKDIR}/pkg-plist
-PREFIX= ${X11BASE}/share/doc/csound
-WRKSRC= ${WRKDIR}/csound-${PORTVERSION}
+PREFIX= ${X11BASE}
+WRKSRC= ${WRKDIR}/csound-${PORTVERSION}/manual
pre-install:
- ${RM} -f ${PLIST}
- cd ${WRKSRC} && ${FIND} -s . -type f | \
- ${CUT} -c3-999 >> ${PLIST} \
- && ${FIND} -d * -type d | ${SED} -e 's:^:@dirrm :' >> ${PLIST}
+ @${RM} -f ${PLIST}
+ cd ${WRKSRC} && ${FIND} -s * -type f | \
+ ${SED} -e 's:^:share/doc/csound/:' >> ${PLIST} \
+ && ${FIND} -d * -type d | \
+ ${SED} -e 's:^:@dirrm share/doc/csound/:' >> ${PLIST}
+ ${ECHO_CMD} @dirrm share/doc/csound >> ${PLIST}
do-install:
- cd ${WRKSRC} && ${PAX} -r -w * ${PREFIX}
+ @${MKDIR} ${PREFIX}/share/doc/csound
+ cd ${WRKSRC} && ${PAX} -r -w * ${PREFIX}/share/doc/csound
.include <bsd.port.mk>