From 912f1d62ebcd62da4ee939a7017064c8844d08ab Mon Sep 17 00:00:00 2001 From: lippe Date: Tue, 2 Sep 2008 01:28:35 +0000 Subject: - Although it is used to construct makefiles for qt3-related projects, does not actually use USE_QT. With this change, ports that use tmake during a build, but should only depend on qt conditionally, are not forced to depend upon qt unconditionally. Example: devel/doxygen. - Optimize Makefile. - Bump PORTREVISION. PR: ports/126542 Submitted by: bf Approved by: maintainer timeout (> 2 weeks) --- devel/tmake/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'devel') diff --git a/devel/tmake/Makefile b/devel/tmake/Makefile index 4e5f67643120..e74efb696b60 100644 --- a/devel/tmake/Makefile +++ b/devel/tmake/Makefile @@ -7,7 +7,7 @@ PORTNAME= tmake PORTVERSION= 1.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel perl5 MASTER_SITES= ftp://ftp.trolltech.com/freebies/tmake/ @@ -15,7 +15,6 @@ MAINTAINER= jesse@cs.uni-magdeburg.de COMMENT= Extremely portable perl-based make utility USE_PERL5= yes -USE_QT_VER= 3 NO_BUILD= yes TMAKE_BIN= progen tmake @@ -27,16 +26,14 @@ post-patch: ${WRKSRC}/lib/freebsd-g++/tmake.conf do-install: - @${MKDIR} ${PREFIX}/share/tmake - @cd ${WRKSRC}/lib; tar cf - * | (cd ${PREFIX}/share/tmake && tar xf -) -.for f in ${TMAKE_BIN} - @${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${PREFIX}/bin -.endfor + @${MKDIR} ${DATADIR} + @cd ${WRKSRC}/lib; tar cf - * | (cd ${DATADIR} && tar xf -) + @${INSTALL_SCRIPT} ${TMAKE_BIN:S,^,${WRKSRC}/bin/,} ${PREFIX}/bin post-install: @${ECHO} @${ECHO} "Make sure to set your TMAKEPATH environment variable" - @${ECHO} "to ${PREFIX}/share/tmake/freebsd-g++." + @${ECHO} "to ${DATADIR}/freebsd-g++." @${ECHO} .include -- cgit