Date: Mon, 13 May 2013 13:22:54 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318077 - in head/x11-toolkits/tktable: . files Message-ID: <201305131322.r4DDMsgp024096@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Mon May 13 13:22:54 2013 New Revision: 318077 URL: http://svnweb.freebsd.org/changeset/ports/318077 Log: - Respect PREFIX and DOCSDIR Reported by: miwi (Tcl/Tk 86 exp-run) Modified: head/x11-toolkits/tktable/Makefile (contents, props changed) head/x11-toolkits/tktable/files/patch-Makefile.in (contents, props changed) Modified: head/x11-toolkits/tktable/Makefile ============================================================================== --- head/x11-toolkits/tktable/Makefile Mon May 13 12:57:18 2013 (r318076) +++ head/x11-toolkits/tktable/Makefile Mon May 13 13:22:54 2013 (r318077) @@ -1,9 +1,5 @@ -# New ports collection makefile for: tktable -# Date created: 25 Jun 2003 -# Whom: thierry@pompo.net -# +# Created by: thierry@pompo.net # $FreeBSD$ -# PORTNAME= tktable PORTVERSION= 2.10 @@ -18,7 +14,6 @@ COMMENT= A table/matrix widget extension LICENSE= BSD LICENSE_FILE= ${WRKSRC}/license.txt -USE_XORG= x11 USE_TK= 84+ GNU_CONFIGURE= yes @@ -26,28 +21,27 @@ PORTDOCS= * PLIST_SUB= DISTNAME=${DISTNAME} -.include <bsd.port.pre.mk> +.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 + --with-x \ + --prefix=${PREFIX} \ + --exec-prefix=${PREFIX} post-patch: -.if !defined(NOPORTDOCS) + ${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|' \ + ${WRKSRC}/Makefile.in +.if ${PORT_OPTIONS:MDOCS} 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> +.include <bsd.port.mk> Modified: head/x11-toolkits/tktable/files/patch-Makefile.in ============================================================================== --- head/x11-toolkits/tktable/files/patch-Makefile.in Mon May 13 12:57:18 2013 (r318076) +++ head/x11-toolkits/tktable/files/patch-Makefile.in Mon May 13 13:22:54 2013 (r318077) @@ -13,7 +13,7 @@ datadir = @datadir@ mandir = @mandir@ includedir = @includedir@ -+docsdir = /usr/local/share/doc/tktable ++docsdir = %%DOCSDIR%% DESTDIR =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305131322.r4DDMsgp024096>