1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11-toolkits/tktable/Makefile
Martin Matuska 3f502c3647 Transfer maintainer back to ports@FreeBSD.org
Approved by:	maintainer (myself)
2011-08-09 15:41:30 +00:00

54 lines
1.0 KiB
Makefile

# New ports collection makefile for: tktable
# Date created: 25 Jun 2003
# Whom: 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_XORG= x11
USE_TK= 84+
GNU_CONFIGURE= yes
PORTDOCS= *
PLIST_SUB= DISTNAME=${DISTNAME}
.include <bsd.port.pre.mk>
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-tclinclude=${TCL_INCLUDEDIR} \
--with-tkinclude=${TK_INCLUDEDIR} \
--with-x
post-patch:
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install-doc
.endif
post-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.if defined(MAINTAINER_MODE)
test: build
(cd ${WRKSRC}; \
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
.endif
.include <bsd.port.post.mk>