diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-13 14:32:39 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-13 14:32:39 +0000 |
commit | 1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd (patch) | |
tree | 22a87d3317beee8f02c7861d098cdd324706acc8 /comms/pyla | |
parent | 2c6ccacf072eec2e4c8e84910b70d7ac40e99798 (diff) | |
download | ports-1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd.tar.gz ports-1ef6c2804f185fadc52954b7749ee3cf0c5ba5bd.zip |
Notes
Diffstat (limited to 'comms/pyla')
-rw-r--r-- | comms/pyla/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/comms/pyla/Makefile b/comms/pyla/Makefile index 34aadfd68b73..b4c10470656a 100644 --- a/comms/pyla/Makefile +++ b/comms/pyla/Makefile @@ -22,8 +22,6 @@ DATADIR= ${PREFIX}/lib/pyla USES= python PLIST= ${WRKDIR}/pkg-plist -.include <bsd.port.pre.mk> - do-build: @(cd ${FILESDIR} && ${CP} pyla.sh ${WRKDIR}) @(cd ${WRKDIR} && ${REINPLACE_CMD} \ @@ -33,13 +31,12 @@ do-build: @(cd ${WRKSRC} && ${CP} language.en language.db) pre-install: - @${ECHO_CMD} '@exec ${MKDIR} %D/lib/pyla' > ${PLIST} - @${ECHO_CMD} 'bin/pyla' >> ${PLIST} + @${ECHO_CMD} 'bin/pyla' > ${PLIST} @${ECHO_CMD} 'lib/pyla/pyla.pyw' >> ${PLIST} @${FIND} ${WRKSRC}/ -type f | \ ${SED} -e "s:^${WRKSRC}/:lib/pyla/:g" >> ${PLIST} - @${FIND} -d ${WRKSRC} -type d | \ - ${SED} -e "s:^${WRKSRC}:@dirrm lib/pyla:g" >> ${PLIST} + @${FIND} -d ${WRKSRC} -type d -empty | \ + ${SED} -e "s:^${WRKSRC}:@dir lib/pyla:g" >> ${PLIST} do-install: @${MKDIR} ${STAGEDIR}${DATADIR} @@ -47,4 +44,4 @@ do-install: ${TAR} -C ${WRKSRC} --exclude CVS -cf - . | \ ${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |