1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11-toolkits/tktable/Makefile
John Marino 09066d022a x11-toolkits/tk(table|treectrl): Fix configure to support DragonFly
These patches to these unmaintained ports have been in dports for a few
months so lets move them over to ports.
2015-08-22 16:23:04 +00:00

45 lines
994 B
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= tktable
PORTVERSION= 2.10
PORTREVISION= 1
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF
DISTNAME= ${PORTNAME:S/tk/Tk/}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Table/matrix widget extension to Tk
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
USE_LDCONFIG= ${PREFIX}/lib/${DISTNAME}
GNU_CONFIGURE= yes
PLIST_SUB= DISTNAME=${DISTNAME}
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR} \
--with-tkinclude=${TK_INCLUDEDIR} \
--with-x \
--prefix=${PREFIX} \
--exec-prefix=${PREFIX}
.if defined(MAINTAINER_MODE)
test: build
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
.endif
post-patch:
@${REINPLACE_CMD} -e 's/FreeBSD-\*/FreeBSD-*|DragonFly-*/' \
${WRKSRC}/configure
.include <bsd.port.mk>