diff --git a/audio/pure-audio/Makefile b/audio/pure-audio/Makefile index 1807b9314e87..759d7f22a886 100644 --- a/audio/pure-audio/Makefile +++ b/audio/pure-audio/Makefile @@ -7,26 +7,18 @@ PORTNAME= pure-audio PORTVERSION= 0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= A digital audio interface for the Pure language -LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ - portaudio.2:${PORTSDIR}/audio/portaudio2 \ +LIB_DEPENDS= portaudio.2:${PORTSDIR}/audio/portaudio2 \ samplerate.1:${PORTSDIR}/audio/libsamplerate \ sndfile.1:${PORTSDIR}/audio/libsndfile \ fftw3:${PORTSDIR}/math/fftw3 -#RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi - -LICENSE_FILE= ${WRKSRC}/COPYING - -USE_GMAKE= yes - -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" +USE_PURE= yes post-patch: ${REINPLACE_CMD} \ @@ -34,14 +26,6 @@ post-patch: -e "s|portaudio.h|portaudio2/portaudio.h|g" \ ${WRKSRC}/Makefile -PORTEXAMPLES= * - .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/audio/pure-audio/distinfo b/audio/pure-audio/distinfo index cd131f6af792..196b501e667b 100644 --- a/audio/pure-audio/distinfo +++ b/audio/pure-audio/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-audio-0.4.tar.gz) = f6d96436415805778fb138fb7efe7588c9460e4f5bf26b50e2ec9b73d2564d38 -SIZE (pure-audio-0.4.tar.gz) = 38730 +SHA256 (pure/pure-audio-0.4.tar.gz) = 81032a0f4f9fcd24bdf498828bd90ab237fb0cb91d179a92025effd7f1d21b82 +SIZE (pure/pure-audio-0.4.tar.gz) = 38558 diff --git a/databases/pure-sql3/Makefile b/databases/pure-sql3/Makefile index 6699f2a07fd4..2b7fe7b0e251 100644 --- a/databases/pure-sql3/Makefile +++ b/databases/pure-sql3/Makefile @@ -7,33 +7,19 @@ PORTNAME= pure-sql3 PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= databases -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= Pure language binding to the SQLite3 library -LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ - sqlite3:${PORTSDIR}/databases/sqlite3 +LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 -LICENSE_FILE= ${WRKSRC}/COPYING +USE_PURE= yes -USE_GCC= 4.2+ -USE_GMAKE= yes PLIST_FILES= lib/pure/sql3.pure \ lib/pure/sql3util.so -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ - LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" - -PORTEXAMPLES= * - .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/databases/pure-sql3/distinfo b/databases/pure-sql3/distinfo index 78dc57a55b6e..f8878ec7aea2 100644 --- a/databases/pure-sql3/distinfo +++ b/databases/pure-sql3/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-sql3-0.4.tar.gz) = 6e6835169ad00b18ecc06b3b156f4ea4a26a3e0ee4a7780a88cee2e7deab7ce1 -SIZE (pure-sql3-0.4.tar.gz) = 41610 +SHA256 (pure/pure-sql3-0.4.tar.gz) = 736d06f9bd21db0d1c27e7b387853aa4d8136e546ffd36c7636e9a73f7966479 +SIZE (pure/pure-sql3-0.4.tar.gz) = 41822 diff --git a/devel/pure-ffi/Makefile b/devel/pure-ffi/Makefile index 32f7c9299586..a7036080c3da 100644 --- a/devel/pure-ffi/Makefile +++ b/devel/pure-ffi/Makefile @@ -7,35 +7,19 @@ PORTNAME= pure-ffi PORTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= Pure language interface to libffi -LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ - ffi:${PORTSDIR}/devel/libffi +LIB_DEPENDS+= ffi:${PORTSDIR}/devel/libffi -LICENSE_FILE= ${WRKSRC}/COPYING - -USE_GCC= 4.2+ -USE_GMAKE= yes +USE_PURE= yes PLIST_FILES= lib/pure/ffi.pure \ lib/pure/ffi.so -MAKE_ARGS+= prefix=${PREFIX} \ - CPPFLAGS+=-I${LOCALBASE}/include \ - LDFLAGS+=-L${LOCALBASE}/lib \ - CFLAGS="${CFLAGS}" - -PORTEXAMPLES= * .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/devel/pure-ffi/distinfo b/devel/pure-ffi/distinfo index fb752eb0678e..dc2d3ace8597 100644 --- a/devel/pure-ffi/distinfo +++ b/devel/pure-ffi/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-ffi-0.12.tar.gz) = 7aa9ce52ddc2154c22317352331afd42741830e3e00a80a7098bb7e155508282 -SIZE (pure-ffi-0.12.tar.gz) = 39555 +SHA256 (pure/pure-ffi-0.12.tar.gz) = 7aba78d96cad5ce6277b9857cbe9a09d6d572cb3fa5a48a53e4a8d3e23eee32d +SIZE (pure/pure-ffi-0.12.tar.gz) = 39868 diff --git a/devel/pure-gen/Makefile b/devel/pure-gen/Makefile index bc4643e78543..d0b89f66f008 100644 --- a/devel/pure-gen/Makefile +++ b/devel/pure-gen/Makefile @@ -7,31 +7,21 @@ PORTNAME= pure-gen PORTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= A C interface generator for the Pure language BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \ hs-language-c>=0.3.2:${PORTSDIR}/devel/hs-language-c -LIB_DEPENDS= pure.7:${PORTSDIR}/lang/pure + +USE_PURE= yes MAN1= pure-gen.1 -LICENSE_FILE= ${WRKSRC}/COPYING -USE_GMAKE= yes - -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" mandir=${PREFIX}/man - -PORTEXAMPLES= * +CC= gcc .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/devel/pure-gen/distinfo b/devel/pure-gen/distinfo index b75dfb444682..016f2692b27a 100644 --- a/devel/pure-gen/distinfo +++ b/devel/pure-gen/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-gen-0.12.tar.gz) = b5d5530e12c016d828e4388ffc5c1dfd22c2748ab0e4472979d37fda531f96f8 -SIZE (pure-gen-0.12.tar.gz) = 57463 +SHA256 (pure/pure-gen-0.12.tar.gz) = b5d5530e12c016d828e4388ffc5c1dfd22c2748ab0e4472979d37fda531f96f8 +SIZE (pure/pure-gen-0.12.tar.gz) = 57463 diff --git a/graphics/pure-gl/Makefile b/graphics/pure-gl/Makefile index 133fdc82611d..b1537c4a49e9 100644 --- a/graphics/pure-gl/Makefile +++ b/graphics/pure-gl/Makefile @@ -7,31 +7,19 @@ PORTNAME= pure-gl PORTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= graphics -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= Pure language interface to OpenGL -LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi -LICENSE_FILE= ${WRKSRC}/COPYING - -USE_GMAKE= yes +USE_PURE= yes USE_GL= glut -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib \ - CFLAGS="${CFLAGS}" LinkGL="-lglut -lGLU -lGL" - -PORTEXAMPLES= * +MAKE_ARGS+= LinkGL="-lglut -lGLU -lGL" .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/graphics/pure-gl/distinfo b/graphics/pure-gl/distinfo index c9ab7b3a83f3..4c262818348c 100644 --- a/graphics/pure-gl/distinfo +++ b/graphics/pure-gl/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-gl-0.8.tar.gz) = 7482dd04ae12a582f8bf05ef9d014c7e2af7aa03522f9edec4994420a6629340 -SIZE (pure-gl-0.8.tar.gz) = 166446 +SHA256 (pure/pure-gl-0.8.tar.gz) = 93554873c1b0604f6686ba45e19e947d3fcb14d7e069e9280a3dd49fb753b739 +SIZE (pure/pure-gl-0.8.tar.gz) = 169114 diff --git a/lang/pure/Makefile b/lang/pure/Makefile index 461f6a456807..70291bcf5eac 100644 --- a/lang/pure/Makefile +++ b/lang/pure/Makefile @@ -6,28 +6,27 @@ # PORTNAME= pure -PORTVERSION= 0.47 -PORTREVISION= 1 +PORTVERSION= 0.51 CATEGORIES= lang -MASTER_SITES= http://pure-lang.googlecode.com/files/ DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz ${PORTNAME}-docs-${PORTVERSION}.tar.gz MAINTAINER= lichray@gmail.com COMMENT= A modern-style functional programming language -LIB_DEPENDS+= gmp:${PORTSDIR}/math/gmp -BUILD_DEPENDS+= llvm29>=2.9<2.10.*:${PORTSDIR}/devel/llvm29 -RUN_DEPENDS+= llvm29>=2.9<2.10.*:${PORTSDIR}/devel/llvm29 +LICENSE= LGPL3 + +LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \ + mpfr.4:${PORTSDIR}/math/mpfr +BUILD_DEPENDS= llvm>=2.9:${PORTSDIR}/devel/llvm +RUN_DEPENDS= llvm>=2.9:${PORTSDIR}/devel/llvm MAN1= pure.1 -LICENSE= LGPL3 SUB_FILES= pkg-message -USE_GCC= 4.2+ USE_AUTOTOOLS= libltdl GNU_CONFIGURE= yes -USE_GMAKE= yes USE_GNOME= gnomehack +USE_PURE= yes MAKE_JOBS_SAFE= yes CONFIGURE_ARGS= --with-libgmp-prefix=${LOCALBASE} --enable-release @@ -86,4 +85,5 @@ post-install: @${CAT} ${PKGMESSAGE} +.include "bsd.pure.mk" .include diff --git a/lang/pure/bsd.pure.mk b/lang/pure/bsd.pure.mk new file mode 100644 index 000000000000..ac492d2aa65e --- /dev/null +++ b/lang/pure/bsd.pure.mk @@ -0,0 +1,97 @@ +# ex:ts=8 +# +# $FreeBSD$ +# +# bsd.pure.mk - Support for the Pure language packages +# +# Author: Zhihao Yuan +# +# USE_PURE - Set it to 'yes' to use libpure.so. +# Others are regarded as a list of *RUN_DEPENDS* +# to pure-* addons. For example, +# USE_PURE= ffi makes the port depends on pure-ffi at runtime. +# USE_PURE_BUILD - Set it to 'yes' to change the addons in USE_PURE +# list to *BUILD_DEPENDS*. +# NO_PURE_EXAMPLES - Don't automatically install examples/. + +.if !defined(PURE_include) + +PURE_MAINTAINER=lichray@gmail.com +PURE_include= bsd.pure.mk + +MASTER_SITES?= http://pure-lang.googlecode.com/files/ +DIST_SUBDIR= pure + +USE_GMAKE= yes +USE_GCC= 4.2+ + +_PURE_audio_cat= audio +_PURE_csv_cat= textproc +_PURE_ffi_cat= devel +_PURE_gen_cat= devel +_PURE_gen_util= pure-gen +_PURE_gl_cat= graphics +_PURE_gl_fn= GL +_PURE_gtk_cat= x11-toolkits +_PURE_mpfr_cat= math +_PURE_readline_cat= devel +_PURE_sockets_cat= net +_PURE_sql3_cat= databases +_PURE_tk_cat= x11-toolkits +_PURE_xml_cat= textproc + +.ifdef _PURE_${PORTNAME}_cat +CATEGORIES= _PURE_${PORTNAME}_cat +.endif + +.if ${PORTNAME} != pure + +.if ${USE_PURE} == yes +LIB_DEPENDS+= pure.8:${PORTSDIR}/lang/pure +.else +. for dep in ${USE_PURE} +_PURE_LIBDIR= ${LOCALBASE}/lib/pure +_PURE_PORTDIR= ${PORTSDIR}/${_PURE_${dep}_cat}/pure-${dep} +. ifdef _PURE_${dep}_cat +. ifdef _PURE_${dep}_util +BUILD_DEPENDS+= ${_PURE_${dep}_util}:${_PURE_PORTDIR} +. else +. ifdef USE_PURE_BUILD +. ifdef _PURE_${dep}_fn +BUILD_DEPENDS+= ${_PURE_LIBDIR}/${_PURE_${dep}_fn}.pure:${_PURE_PORTDIR} +. else +BUILD_DEPENDS+= ${_PURE_LIBDIR}/${dep}.pure:${_PURE_PORTDIR} +. endif +. endif +. ifdef _PURE_${dep}_fn +RUN_DEPENDS+= ${_PURE_LIBDIR}/${_PURE_${dep}_fn}.pure:${_PURE_PORTDIR} +. else +RUN_DEPENDS+= ${_PURE_LIBDIR}/${dep}.pure:${_PURE_PORTDIR} +. endif +. endif +. else +. error pure-${dep} is not supported by "bsd.pure.mk" +. endif +. endfor +.endif + +.endif # PORTNAME != pure + +MAKE_ARGS+= prefix=${PREFIX} mandir=${PREFIX}/man \ + CC=${CC} CFLAGS="${CFLAGS}" \ + CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \ + CPPFLAGS+=-I${LOCALBASE}/include \ + LDFLAGS+=-L${LOCALBASE}/lib + +.if ${PORTNAME:Mpure-*} !="" && !defined(NO_PURE_EXAMPLES) +PORTEXAMPLES= * + +post-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) +.endif + +.endif + +.endif #!defined(PURE_include) diff --git a/lang/pure/distinfo b/lang/pure/distinfo index fcd05f6c3461..1016867f7faa 100644 --- a/lang/pure/distinfo +++ b/lang/pure/distinfo @@ -1,4 +1,4 @@ -SHA256 (pure-0.47.tar.gz) = 7b3d0093fd695178e154cd24a4983dbff479a62ef840c11ca94af0998699409a -SIZE (pure-0.47.tar.gz) = 1028429 -SHA256 (pure-docs-0.47.tar.gz) = 5d26edc1dce5151a616ad11378657fbf792edf2ddefa31c70934e6d3c011258c -SIZE (pure-docs-0.47.tar.gz) = 2817481 +SHA256 (pure/pure-0.51.tar.gz) = 990b0a30cfb91f1f5a93847c1de666d52d7817f5be28d3753a06f42bc9d74412 +SIZE (pure/pure-0.51.tar.gz) = 1114840 +SHA256 (pure/pure-docs-0.51.tar.gz) = 2e13c12b0d1a03dbdf12c09f30bcbd86e50367079776d677b21e2ee1487419a5 +SIZE (pure/pure-docs-0.51.tar.gz) = 3376386 diff --git a/lang/pure/pkg-plist b/lang/pure/pkg-plist index 27bd08e9f01d..2e3e94151934 100644 --- a/lang/pure/pkg-plist +++ b/lang/pure/pkg-plist @@ -1,8 +1,8 @@ bin/pure include/pure/runtime.h lib/libpure.so -lib/libpure.so.7 -lib/libpure.so.7.0 +lib/libpure.so.8 +lib/libpure.so.8.0 lib/pure/array.pure lib/pure/avltrees.pure lib/pure/dict.pure @@ -11,6 +11,7 @@ lib/pure/getopt.pure lib/pure/heap.pure lib/pure/math.pure lib/pure/matrices.pure +lib/pure/pointers.pure lib/pure/posix.pure lib/pure/prelude.pure lib/pure/primitives.pure @@ -19,6 +20,7 @@ lib/pure/pure_main.o lib/pure/quasiquote.pure lib/pure/quasiquote1.pure lib/pure/records.pure +lib/pure/regex.pure lib/pure/set.pure lib/pure/strings.pure lib/pure/system.pure diff --git a/math/pure-rational/Makefile b/math/pure-rational/Makefile index bf8e9f272c4b..84b38a919a9d 100644 --- a/math/pure-rational/Makefile +++ b/math/pure-rational/Makefile @@ -7,21 +7,20 @@ PORTNAME= pure-rational PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= math -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= Rational number library for the Pure language -LIB_DEPENDS+= pure:${PORTSDIR}/lang/pure - LICENSE= GPLv3 +USE_PURE= yes +NO_PURE_EXAMPLES= yes + PLIST_FILES= lib/pure/rational.pure \ lib/pure/rat_interval.pure -USE_GMAKE= yes - -MAKE_ARGS+= prefix=${PREFIX} - -.include +.include +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" +.include diff --git a/math/pure-rational/distinfo b/math/pure-rational/distinfo index c5da557efc55..8596660ab0ec 100644 --- a/math/pure-rational/distinfo +++ b/math/pure-rational/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-rational-0.1.tar.gz) = c6b52330d45cb2b79c4bbfa748d9eccb796abd3b354d3d3d663d325f4eceeb1b -SIZE (pure-rational-0.1.tar.gz) = 44687 +SHA256 (pure/pure-rational-0.1.tar.gz) = 62cb4079a0dadd232a859e577e97e50e9718ccfcc5983c4d9c4c32cac7a9bafa +SIZE (pure/pure-rational-0.1.tar.gz) = 65724 diff --git a/net/pure-sockets/Makefile b/net/pure-sockets/Makefile index b968625b62e8..d6e78e23e7a5 100644 --- a/net/pure-sockets/Makefile +++ b/net/pure-sockets/Makefile @@ -6,36 +6,17 @@ # PORTNAME= pure-sockets -PORTVERSION= 0.5 +PORTVERSION= 0.6 CATEGORIES= net -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= Pure language interface to the Berkeley socket functions -.include - -.if ${OSVERSION} < 900014 -BUILD_DEPENDS+= clang>=2.8:${PORTSDIR}/lang/clang -.endif -LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure - -LICENSE_FILE= ${WRKSRC}/COPYING +USE_PURE= yes PLIST_FILES= lib/pure/sockets.pure \ lib/pure/sockets.so -USE_GMAKE= yes - -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ - LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" - -PORTEXAMPLES= * - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/net/pure-sockets/distinfo b/net/pure-sockets/distinfo index d609fb5b6d9d..dc5d05a12e87 100644 --- a/net/pure-sockets/distinfo +++ b/net/pure-sockets/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-sockets-0.5.tar.gz) = 6044926cbe87b8f6853bede4149d43d72650cb7de81c74dab42b89c60c75e669 -SIZE (pure-sockets-0.5.tar.gz) = 39998 +SHA256 (pure/pure-sockets-0.6.tar.gz) = e88620405d09168b416fd129f7e96e1477f8eff907e47f29fa7366c6795b5302 +SIZE (pure/pure-sockets-0.6.tar.gz) = 40082 diff --git a/textproc/pure-csv/Makefile b/textproc/pure-csv/Makefile index ee82af5f2dd4..6be64e2fd7c5 100644 --- a/textproc/pure-csv/Makefile +++ b/textproc/pure-csv/Makefile @@ -6,24 +6,18 @@ # PORTNAME= pure-csv -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= textproc -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= A CSV reading and writing module for the Pure language -LIB_DEPENDS+= pure:${PORTSDIR}/lang/pure - -LICENSE_FILE= ${WRKSRC}/COPYING +USE_PURE= yes +NO_PURE_EXAMPLES= yes PLIST_FILES= lib/pure/csv.pure \ lib/pure/csv.so -USE_GCC= 4.2+ -USE_GMAKE= yes - -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ - LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" - -.include +.include +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" +.include diff --git a/textproc/pure-csv/distinfo b/textproc/pure-csv/distinfo index 34ce5f656e93..1854d5541cb5 100644 --- a/textproc/pure-csv/distinfo +++ b/textproc/pure-csv/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-csv-1.4.tar.gz) = 9b61f9c73a23a710ab9c77e039480d5fbf0a55e11c1a2dbeb9846411a1c68880 -SIZE (pure-csv-1.4.tar.gz) = 26549 +SHA256 (pure/pure-csv-1.5.tar.gz) = 996a499dc2f0a4e537b420b3c754f4d8a7af74a43f4afb46e67701f866edaa7c +SIZE (pure/pure-csv-1.5.tar.gz) = 26670 diff --git a/textproc/pure-xml/Makefile b/textproc/pure-xml/Makefile index 26ba3eb337c8..1e9bbf7dbc07 100644 --- a/textproc/pure-xml/Makefile +++ b/textproc/pure-xml/Makefile @@ -7,34 +7,18 @@ PORTNAME= pure-xml PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= textproc -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= Pure language interface for libxml2 and libxslt -LIB_DEPENDS= pure.7:${PORTSDIR}/lang/pure - -LICENSE_FILE= ${WRKSRC}/COPYING - -USE_GCC= 4.2+ -USE_GMAKE= yes +USE_PURE= yes USE_GNOME= libxml2 libxslt PLIST_FILES= lib/pure/xml.pure \ lib/pure/xml.so -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ - LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" - -PORTEXAMPLES= * - .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/textproc/pure-xml/distinfo b/textproc/pure-xml/distinfo index 24d1a29bb818..cfe45bbe6754 100644 --- a/textproc/pure-xml/distinfo +++ b/textproc/pure-xml/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-xml-0.6.tar.gz) = f00b6b04688fc5e0ae41a5731176b8e471a3af10fcad61396caf812a64848899 -SIZE (pure-xml-0.6.tar.gz) = 50909 +SHA256 (pure/pure-xml-0.6.tar.gz) = 309d2356c069d8f7571ac1b86496549536adf38cba4ac68a2a38f22795ce27e7 +SIZE (pure/pure-xml-0.6.tar.gz) = 51723 diff --git a/x11-toolkits/pure-gtk/Makefile b/x11-toolkits/pure-gtk/Makefile index 09d900ec5ec1..939092685144 100644 --- a/x11-toolkits/pure-gtk/Makefile +++ b/x11-toolkits/pure-gtk/Makefile @@ -7,33 +7,17 @@ PORTNAME= pure-gtk PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES= x11-toolkits -MASTER_SITES= http://pure-lang.googlecode.com/files/ MAINTAINER= lichray@gmail.com COMMENT= A set of Pure language bindings for GTK+ -LIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ - cairo.2:${PORTSDIR}/graphics/cairo -RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi +LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo -LICENSE_FILE= ${WRKSRC}/COPYING - -USE_GCC= 4.2+ -USE_GMAKE= yes +USE_PURE= ffi USE_GNOME= glib20 gtk20 atk pango -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \ - LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" - -PORTEXAMPLES= * - .include - -post-install: -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) -.endif - +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" .include diff --git a/x11-toolkits/pure-gtk/distinfo b/x11-toolkits/pure-gtk/distinfo index 530cd0651143..090a42d65b5a 100644 --- a/x11-toolkits/pure-gtk/distinfo +++ b/x11-toolkits/pure-gtk/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure-gtk-0.10.tar.gz) = 901955ba950844cf4f901a28ce4229a8bdb9c1351caac4b83dd8aa22cd0844e8 -SIZE (pure-gtk-0.10.tar.gz) = 163011 +SHA256 (pure/pure-gtk-0.10.tar.gz) = 901955ba950844cf4f901a28ce4229a8bdb9c1351caac4b83dd8aa22cd0844e8 +SIZE (pure/pure-gtk-0.10.tar.gz) = 163011