mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
53514d0e91
Reported by: miwi (Tcl/Tk 86 exp-run)
48 lines
965 B
Makefile
48 lines
965 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= A table/matrix widget extension to Tk
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
|
|
|
USE_TK= 84+
|
|
|
|
GNU_CONFIGURE= yes
|
|
PORTDOCS= *
|
|
|
|
PLIST_SUB= DISTNAME=${DISTNAME}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|' \
|
|
${WRKSRC}/Makefile.in
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
INSTALL_TARGET= install install-doc
|
|
.endif
|
|
|
|
.if defined(MAINTAINER_MODE)
|
|
test: build
|
|
(cd ${WRKSRC}; \
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|