diff options
author | lippe <lippe@FreeBSD.org> | 2008-09-02 09:28:35 +0800 |
---|---|---|
committer | lippe <lippe@FreeBSD.org> | 2008-09-02 09:28:35 +0800 |
commit | 912f1d62ebcd62da4ee939a7017064c8844d08ab (patch) | |
tree | b396d34194f07e6d43a5b57c178a929fc962b88a | |
parent | aeb9e20805cf8d27304cfd9a86ee22161be0076f (diff) | |
download | freebsd-ports-gnome-912f1d62ebcd62da4ee939a7017064c8844d08ab.tar.gz freebsd-ports-gnome-912f1d62ebcd62da4ee939a7017064c8844d08ab.tar.zst freebsd-ports-gnome-912f1d62ebcd62da4ee939a7017064c8844d08ab.zip |
- 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 <bf2006a@yahoo.com>
Approved by: maintainer timeout (> 2 weeks)
-rw-r--r-- | devel/tmake/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
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 <bsd.port.mk> |