Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2013 21:11:24 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r322733 - in head: audio/pure-audio databases/pure-sql3 devel/pure-gen devel/pure-readline devel/pure-stldict devel/pure-stlvec graphics/pure-gl lang/pure math/pure-mpfr math/pure-ratio...
Message-ID:  <201307102111.r6ALBOSE087527@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Wed Jul 10 21:11:24 2013
New Revision: 322733
URL: http://svnweb.freebsd.org/changeset/ports/322733

Log:
  Fix pure by removing the useless pre.mk/post.mk dancing
  Convert to USES=gmake
  
  Reported by:	marino

Modified:
  head/audio/pure-audio/Makefile
  head/databases/pure-sql3/Makefile
  head/devel/pure-gen/Makefile
  head/devel/pure-readline/Makefile
  head/devel/pure-stldict/Makefile
  head/devel/pure-stlvec/Makefile
  head/graphics/pure-gl/Makefile
  head/lang/pure/bsd.pure.mk
  head/math/pure-mpfr/Makefile
  head/math/pure-rational/Makefile
  head/net/pure-sockets/Makefile
  head/textproc/pure-csv/Makefile
  head/textproc/pure-xml/Makefile
  head/x11-toolkits/pure-tk/Makefile

Modified: head/audio/pure-audio/Makefile
==============================================================================
--- head/audio/pure-audio/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/audio/pure-audio/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-gtk
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-audio
 PORTVERSION=	0.5
@@ -25,6 +21,5 @@ post-patch:
 		-e "s|portaudio.h|portaudio2/portaudio.h|g" \
 	   	${WRKSRC}/Makefile
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/pure-sql3/Makefile
==============================================================================
--- head/databases/pure-sql3/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/databases/pure-sql3/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-sql3
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-sql3
 PORTVERSION=	0.4
@@ -20,6 +16,5 @@ USE_PURE=	yes
 PLIST_FILES=	lib/pure/sql3.pure \
 		lib/pure/sql3util.so
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/pure-gen/Makefile
==============================================================================
--- head/devel/pure-gen/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/devel/pure-gen/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-sql3
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-gen
 PORTVERSION=	0.15
@@ -21,6 +17,5 @@ MAN1=		pure-gen.1
 
 CC= 		gcc
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/pure-readline/Makefile
==============================================================================
--- head/devel/pure-readline/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/devel/pure-readline/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-readline
-# Date created:		2011-10-21
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-readline
 PORTVERSION=	0.1
@@ -18,6 +14,5 @@ NO_PURE_EXAMPLES=	yes
 PLIST_FILES=	lib/pure/readline.pure \
 		lib/pure/readline.so
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/pure-stldict/Makefile
==============================================================================
--- head/devel/pure-stldict/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/devel/pure-stldict/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-stldict
-# Date created:		2011-12-05
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-stldict
 PORTVERSION=	0.5
@@ -18,6 +14,5 @@ USE_GCC=	4.6+
 CXX=		g++${GCC_DEFAULT_V}
 CXXFLAGS+=	-std=c++0x -DHAVE_STD_IS_PERMUTATION
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/pure-stlvec/Makefile
==============================================================================
--- head/devel/pure-stlvec/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/devel/pure-stlvec/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-stlvec
-# Date created:		2011-10-19
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-stlvec
 PORTVERSION=	0.2
@@ -14,12 +10,10 @@ COMMENT=	Pure interface to C++ STL vecto
 
 USE_PURE=	yes
 
-.include <bsd.port.pre.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|^PROD_FLAGS =.*|PROD_FLAGS = $$(CPPFLAGS) $$(CFLAGS) $$(LDFLAGS)|' \
 		${WRKSRC}/Makefile
 
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/graphics/pure-gl/Makefile
==============================================================================
--- head/graphics/pure-gl/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/graphics/pure-gl/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-gtk
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-gl
 PORTVERSION=	0.8
@@ -20,6 +16,5 @@ USE_GL=	glut
 
 MAKE_ARGS+=	LinkGL="-lglut -lGLU -lGL"
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/lang/pure/bsd.pure.mk
==============================================================================
--- head/lang/pure/bsd.pure.mk	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/lang/pure/bsd.pure.mk	Wed Jul 10 21:11:24 2013	(r322733)
@@ -22,7 +22,7 @@ PURE_include=	bsd.pure.mk
 MASTER_SITES?=	http://pure-lang.googlecode.com/files/
 DIST_SUBDIR=	pure
 
-USE_GMAKE=	yes
+USES+=		gmake
 
 _PURE_audio_cat=	audio
 _PURE_csv_cat=		textproc

Modified: head/math/pure-mpfr/Makefile
==============================================================================
--- head/math/pure-mpfr/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/math/pure-mpfr/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-mpfr
-# Date created:		2011-10-19
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-mpfr
 PORTVERSION=	0.4
@@ -19,6 +15,5 @@ PLIST_FILES=	lib/pure/mpfr.pure \
 
 MAKE_ARGS+=	libdir="${PREFIX}/lib"
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/pure-rational/Makefile
==============================================================================
--- head/math/pure-rational/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/math/pure-rational/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-rational
-# Date created:		2011-10-09
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-rational
 PORTVERSION=	0.1
@@ -21,6 +17,5 @@ NO_PURE_EXAMPLES=	yes
 PLIST_FILES=	lib/pure/rational.pure \
 		lib/pure/rat_interval.pure
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/net/pure-sockets/Makefile
==============================================================================
--- head/net/pure-sockets/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/net/pure-sockets/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-sockets
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-sockets
 PORTVERSION=	0.6
@@ -17,6 +13,5 @@ USE_PURE=	yes
 PLIST_FILES=	lib/pure/sockets.pure \
 		lib/pure/sockets.so
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/textproc/pure-csv/Makefile
==============================================================================
--- head/textproc/pure-csv/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/textproc/pure-csv/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-csv
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-csv
 PORTVERSION=	1.5
@@ -18,6 +14,5 @@ NO_PURE_EXAMPLES=	yes
 PLIST_FILES=	lib/pure/csv.pure \
 		lib/pure/csv.so
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/textproc/pure-xml/Makefile
==============================================================================
--- head/textproc/pure-xml/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/textproc/pure-xml/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	pure-xml
-# Date created:		2011-03-18
-# Whom:			Zhihao Yuan <lichray@gmail.com>
-#
+# Created by: Zhihao Yuan <lichray@gmail.com>
 # $FreeBSD$
-#
 
 PORTNAME=	pure-xml
 PORTVERSION=	0.6
@@ -19,6 +15,5 @@ USE_GNOME=	libxml2 libxslt
 PLIST_FILES=	lib/pure/xml.pure \
 		lib/pure/xml.so
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/x11-toolkits/pure-tk/Makefile
==============================================================================
--- head/x11-toolkits/pure-tk/Makefile	Wed Jul 10 20:47:24 2013	(r322732)
+++ head/x11-toolkits/pure-tk/Makefile	Wed Jul 10 21:11:24 2013	(r322733)
@@ -25,6 +25,5 @@ post-patch:
  		-e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \
 		${WRKSRC}/Makefile
 
-.include <bsd.port.pre.mk>
 .include "${PORTSDIR}/lang/pure/bsd.pure.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307102111.r6ALBOSE087527>