From d37bd78b248661353748b87daa172c40840e38f5 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Sun, 18 Apr 2004 20:59:46 +0000 Subject: Fix packing list. Be a little less verbose. --- audio/csound-manual/Makefile | 17 ++++++++++------- 1 file 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 -- cgit v1.2.3