mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
- Respect PREFIX and DOCSDIR
Reported by: miwi (Tcl/Tk 86 exp-run)
This commit is contained in:
parent
a36cc43ba5
commit
53514d0e91
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318077
@ -1,9 +1,5 @@
|
|||||||
# New ports collection makefile for: tktable
|
# Created by: thierry@pompo.net
|
||||||
# Date created: 25 Jun 2003
|
|
||||||
# Whom: thierry@pompo.net
|
|
||||||
#
|
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
|
||||||
|
|
||||||
PORTNAME= tktable
|
PORTNAME= tktable
|
||||||
PORTVERSION= 2.10
|
PORTVERSION= 2.10
|
||||||
@ -18,7 +14,6 @@ COMMENT= A table/matrix widget extension to Tk
|
|||||||
LICENSE= BSD
|
LICENSE= BSD
|
||||||
LICENSE_FILE= ${WRKSRC}/license.txt
|
LICENSE_FILE= ${WRKSRC}/license.txt
|
||||||
|
|
||||||
USE_XORG= x11
|
|
||||||
USE_TK= 84+
|
USE_TK= 84+
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
@ -26,28 +21,27 @@ PORTDOCS= *
|
|||||||
|
|
||||||
PLIST_SUB= DISTNAME=${DISTNAME}
|
PLIST_SUB= DISTNAME=${DISTNAME}
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
|
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
|
||||||
--with-tk=${TK_LIBDIR} \
|
--with-tk=${TK_LIBDIR} \
|
||||||
--with-tclinclude=${TCL_INCLUDEDIR} \
|
--with-tclinclude=${TCL_INCLUDEDIR} \
|
||||||
--with-tkinclude=${TK_INCLUDEDIR} \
|
--with-tkinclude=${TK_INCLUDEDIR} \
|
||||||
--with-x
|
--with-x \
|
||||||
|
--prefix=${PREFIX} \
|
||||||
|
--exec-prefix=${PREFIX}
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
.if !defined(NOPORTDOCS)
|
${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|' \
|
||||||
|
${WRKSRC}/Makefile.in
|
||||||
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
INSTALL_TARGET= install install-doc
|
INSTALL_TARGET= install install-doc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(MAINTAINER_MODE)
|
.if defined(MAINTAINER_MODE)
|
||||||
test: build
|
test: build
|
||||||
(cd ${WRKSRC}; \
|
(cd ${WRKSRC}; \
|
||||||
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test)
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
datadir = @datadir@
|
datadir = @datadir@
|
||||||
mandir = @mandir@
|
mandir = @mandir@
|
||||||
includedir = @includedir@
|
includedir = @includedir@
|
||||||
+docsdir = /usr/local/share/doc/tktable
|
+docsdir = %%DOCSDIR%%
|
||||||
|
|
||||||
DESTDIR =
|
DESTDIR =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user