Changeset View
Changeset View
Standalone View
Standalone View
cad/tkgate/Makefile
Show All 10 Lines | |||||
COMMENT= Event driven digital circuit simulator | COMMENT= Event driven digital circuit simulator | ||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
USES+= iconv:translit tk:build,run | USES+= iconv:translit tk:build,run | ||||
OPTIONS_DEFINE= DOCS | |||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/scripts/tree.tcl | @${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/scripts/tree.tcl | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
's|%%TCL_VER%%|${TCL_VER}|g; \ | 's|%%TCL_VER%%|${TCL_VER}|g; \ | ||||
s|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g; \ | s|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g; \ | ||||
s|%%LOCALBASE%%|${LOCALBASE}|g' \ | s|%%LOCALBASE%%|${LOCALBASE}|g' \ | ||||
${WRKSRC}/configure | ${WRKSRC}/configure | ||||
# Remove backup files somehow installed to the stagedir | # Remove backup files somehow installed to the stagedir | ||||
post-install: | post-install: | ||||
${FIND} ${STAGEDIR}/${DATADIR} -name '*~' -delete -or -name '*~?' -delete | ${FIND} ${STAGEDIR}/${DATADIR} -name '*~' -delete -or -name '*~?' -delete | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |