1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/cad/tkgate/Makefile
John Marino 5425052e08 cad/tkgate: Unbreak FreeBSD 11, Fix depends on rest
This was specified on USES: iconv:build,lib

This is incorrect; the way iconv.mk is written, "build" and "lib" are
mutually exclusive and "build" takes precedence.  This means the library
dependency was not registered.

Moveover, it's failing on FreeBSD 11 and dev-branch of DragonFly because
it uses transliteration.  Setting USES=iconv:translit fixes both issues.

Approved by:	Just fix it
2015-07-07 06:35:35 +00:00

32 lines
790 B
Makefile

# $FreeBSD$
PORTNAME= tkgate
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= http://highsecure.ru/distfiles/ \
http://cdn.bitbucket.org/starling13/tkgate/downloads/
MAINTAINER= vsevolod@FreeBSD.org
COMMENT= Event driven digital circuit simulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES+= iconv:translit tk:build,run
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
# Remove backup files somehow installed to the stagedir
post-stage:
${FIND} ${STAGEDIR}/${DATADIR} -name '*~' -delete -or -name '*~?' -delete
.include <bsd.port.mk>