diff options
author | trevor <trevor@FreeBSD.org> | 2000-10-18 20:16:11 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-10-18 20:16:11 +0800 |
commit | ffa328ce3a2d82f8b2f346d25d237ba38da74e43 (patch) | |
tree | 549c28849d350e3f113e945f93f7730eb1c80fd8 | |
parent | 2035abbb1d6a8d69edaaaab235838d737525e59d (diff) | |
download | freebsd-ports-gnome-ffa328ce3a2d82f8b2f346d25d237ba38da74e43.tar.gz freebsd-ports-gnome-ffa328ce3a2d82f8b2f346d25d237ba38da74e43.tar.zst freebsd-ports-gnome-ffa328ce3a2d82f8b2f346d25d237ba38da74e43.zip |
Construct PLIST in WRKDIR, to make bento a happy meal.
Install the ancillary commands too.
-rw-r--r-- | audio/csound/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/audio/csound/Makefile b/audio/csound/Makefile index c2ee9580ba7f..a7a80cd65e90 100644 --- a/audio/csound/Makefile +++ b/audio/csound/Makefile @@ -26,13 +26,18 @@ RESTRICTED= "no redistribution; no commercial use except to make music (see http MAKE_ENV= CPPFLAGS="-I${PREFIX}/include" \ LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib" NO_WRKSUBDIR= yes +PLIST= ${WRKDIR}/pkg-plist USE_X_PREFIX= yes pre-build: + find ${WRKDIR} -type f -exec ${CHMOD} 644 \{\} \; + +post-build: ${RM} -f ${PLIST} -.for i in bin/csound share/csound/csound.dat - ${ECHO} ${i} >> ${PLIST} -.endfor + @for i in `find ${WRKDIR} -type f -perm 755`; do \ + ${ECHO} bin/`${BASENAME} $${i}` >> ${PLIST}; \ + done + ${ECHO} share/csound/csound.dat >> ${PLIST} .if !defined(NOPORTDOCS) ${ECHO} share/doc/csound/Version${PORTVERSION:S/./_/}.Notes >> ${PLIST} ${ECHO} "@dirrm share/doc/csound" >> ${PLIST} @@ -49,10 +54,9 @@ do-install: ${INSTALL_DATA} ${_DISTDIR}/Version${PORTVERSION:S/./_/}.Notes \ ${PREFIX}/share/doc/csound .endif - ${INSTALL_PROGRAM} ${WRKSRC}/csound ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/csound.txt ${PREFIX}/share/csound/csound.dat - -post-clean: - ${RM} -f ${PLIST} + for i in `find ${WRKDIR} -type f -perm 755`; do \ + ${INSTALL_PROGRAM} $${i} ${PREFIX}/bin ; \ + done .include <bsd.port.mk> |