Files
2026-10-04 04:07:15 +00:00

34 lines
749 B
Makefile

PORTNAME= tktable
PORTVERSION= 2.10
PORTREVISION= 1
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF
DISTNAME= ${PORTNAME:S/tk/Tk/}${PORTVERSION}
MAINTAINER= portmaster@BSDforge.com
COMMENT= Table/matrix widget extension to Tk
WWW= https://tktable.sourceforge.net/
LICENSE= TclTk
LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/license.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= tk:tea
TCL_PKG= ${DISTNAME}
USE_LDCONFIG= ${PREFIX}/lib/${DISTNAME}
TEST_TARGET= test
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \
${WRKSRC}/configure
.include <bsd.port.mk>