1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

Fix pure by removing the useless pre.mk/post.mk dancing

Convert to USES=gmake

Reported by:	marino
This commit is contained in:
Baptiste Daroussin 2013-07-10 21:11:24 +00:00
parent dd522563f0
commit f83b34b741
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322733
14 changed files with 26 additions and 88 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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 vector
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>

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>