- STAGE-clean

This commit is contained in:
Pietro Cerutti 2014-02-18 17:19:25 +00:00
parent a0a9697383
commit 67bfc3b798
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344931

View File

@ -20,16 +20,15 @@ PLIST_FILES= bin/dirdiff lib/libfilecmp.so.0
CFLAGS+= -fPIC -I${TCL_INCLUDEDIR}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|.0.0|.0|g ; \
s|^CFLAGS=|CFLAGS?=|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
's|^exec wish |exec ${WISH:T} |' ${WRKSRC}/dirdiff
's|^exec wish |exec ${WISH} |' ${WRKSRC}/dirdiff
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dirdiff ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libfilecmp.so.0 ${PREFIX}/lib
${INSTALL_SCRIPT} ${WRKSRC}/dirdiff ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libfilecmp.so.0 ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>