svn commit: r430497 - in head/devel/tmake: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jan 3 18:36:13 UTC 2017
Author: sunpoet
Date: Tue Jan 3 18:36:11 2017
New Revision: 430497
URL: https://svnweb.freebsd.org/changeset/ports/430497
Log:
Update to 2.12
- Add LICENSE
- Add NO_ARCH
- Use PLIST_FILES and PORTDATA instead of PLIST
Changes: http://tmake.sourceforge.net/CHANGES.html
Added:
head/devel/tmake/files/patch-lib-make-generic.t
- copied, changed from r430496, head/devel/tmake/files/patch-lib-unix-generic.t
Deleted:
head/devel/tmake/files/patch-bin-tmake
head/devel/tmake/files/patch-lib-unix-generic.t
head/devel/tmake/pkg-plist
Modified:
head/devel/tmake/Makefile
head/devel/tmake/distinfo
Modified: head/devel/tmake/Makefile
==============================================================================
--- head/devel/tmake/Makefile Tue Jan 3 18:36:06 2017 (r430496)
+++ head/devel/tmake/Makefile Tue Jan 3 18:36:11 2017 (r430497)
@@ -2,25 +2,32 @@
# $FreeBSD$
PORTNAME= tmake
-PORTVERSION= 1.13
+PORTVERSION= 2.12
CATEGORIES= devel perl5
-MASTER_SITES= ftp://ftp.trolltech.com/freebies/tmake/ \
+MASTER_SITES= SF \
LOCAL/sunpoet
MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Extremely portable perl-based make utility
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NO_ARCH= yes
NO_BUILD= yes
REINPLACE_ARGS= -i ''
-USES= perl5 shebangfix
+USES= perl5 shebangfix zip
+
+PLIST_FILES= bin/progen bin/tmake
+PORTDATA= *
SHEBANG_FILES= bin/progen bin/tmake
post-patch:
- @${RM} ${WRKSRC}/bin/tmake.orig ${WRKSRC}/lib/unix/generic.t.orig
+ @${RM} ${WRKSRC}/lib/make/generic.t.orig
@${REINPLACE_CMD} \
- -e 's|/usr/local|${LOCALBASE}|g' \
- -e 's|/usr/X11R6|${LOCALBASE}|g' \
+ -e 's|/usr/local|${LOCALBASE}|' \
+ -e 's|/usr/X11R6|${LOCALBASE}|' \
-e '/^TMAKE_CFLAGS_RELEASE/ s| -O[0-9]||' \
${WRKSRC}/lib/freebsd-g++/tmake.conf
Modified: head/devel/tmake/distinfo
==============================================================================
--- head/devel/tmake/distinfo Tue Jan 3 18:36:06 2017 (r430496)
+++ head/devel/tmake/distinfo Tue Jan 3 18:36:11 2017 (r430497)
@@ -1,2 +1,3 @@
-SHA256 (tmake-1.13.tar.gz) = 793c91af700b601a535c9e4428e43c546a10560841f79bdae5b1852e201136e9
-SIZE (tmake-1.13.tar.gz) = 64191
+TIMESTAMP = 1483386166
+SHA256 (tmake-2.12.zip) = 00977f09b1919445f31ec4f912f660fb119aeb5be3bd1aaf3fe44f39ddc75578
+SIZE (tmake-2.12.zip) = 187874
Copied and modified: head/devel/tmake/files/patch-lib-make-generic.t (from r430496, head/devel/tmake/files/patch-lib-unix-generic.t)
==============================================================================
--- head/devel/tmake/files/patch-lib-unix-generic.t Tue Jan 3 18:36:06 2017 (r430496, copy source)
+++ head/devel/tmake/files/patch-lib-make-generic.t Tue Jan 3 18:36:11 2017 (r430497)
@@ -1,21 +1,21 @@
---- lib/unix/generic.t.orig 2000-12-04 04:26:06.000000000 +0200
-+++ lib/unix/generic.t 2010-08-27 22:54:27.797820407 +0300
-@@ -205,13 +205,13 @@
+--- lib/make/generic.t.orig 2004-02-29 18:20:44 UTC
++++ lib/make/generic.t
+@@ -6,13 +6,13 @@
####### Compiler, tools and options
-CC = #$ Expand("TMAKE_CC");
-CXX = #$ Expand("TMAKE_CXX");
--CFLAGS = #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
--CXXFLAGS= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
+-CFLAGS = #$ Expand("TMAKE_CFLAGS");
+-CXXFLAGS= #$ Expand("TMAKE_CXXFLAGS");
+CC ?= #$ Expand("TMAKE_CC");
+CXX ?= #$ Expand("TMAKE_CXX");
-+CFLAGS += #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
-+CXXFLAGS+= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D","");
- INCPATH = #$ ExpandPath("INCPATH","-I"," -I","");
++CFLAGS += #$ Expand("TMAKE_CFLAGS");
++CXXFLAGS+= #$ Expand("TMAKE_CXXFLAGS");
+ INCPATH = #$ Expand('TMAKE_INCPATH');
#$ Config("staticlib") && DisableOutput();
-LINK = #$ Expand("TMAKE_LINK");
+LINK = $(CXX)
LFLAGS = #$ Expand("TMAKE_LFLAGS");
- LIBS = $(SUBLIBS) #$ Expand("TMAKE_LIBDIR_FLAGS"); Expand("TMAKE_LIBS");
+ LIBS = #$ Expand("TMAKE_LIBDIR_FLAGS"); Expand("TMAKE_LIBS");
#$ Config("staticlib") && EnableOutput();
More information about the svn-ports-head
mailing list