1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/cad/tkgate/Makefile
2019-11-08 09:31:13 +00:00

32 lines
811 B
Makefile

# $FreeBSD$
PORTNAME= tkgate
PORTVERSION= 2.1
CATEGORIES= cad
MASTER_SITES= http://cdn.bitbucket.org/starling13/tkgate/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= Event driven digital circuit simulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES+= autoreconf gnome iconv:translit libtool pkgconfig tk:build,run
USE_GNOME= pango
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/wish|${WISH}|g' ${WRKSRC}/scripts/tree.tcl
@${REINPLACE_CMD} -e \
's|%%TCL_VER%%|${TCL_VER}|g; \
s|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/configure.ac
# Remove backup files somehow installed to the stagedir
post-install:
${FIND} ${STAGEDIR}/${DATADIR} -name '*~' -delete -or -name '*~?' -delete
.include <bsd.port.mk>