Created
December 6, 2011 06:22
-
-
Save lichray/1437023 to your computer and use it in GitHub Desktop.
Upgrade pure to 0.51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -ruN --exclude=CVS /usr/ports/lang/pure.orig/Makefile /usr/ports/lang/pure/Makefile | |
| --- /usr/ports/lang/pure.orig/Makefile 2012-01-20 14:12:38.000000000 -0600 | |
| +++ /usr/ports/lang/pure/Makefile 2012-01-22 14:06:22.574870368 -0600 | |
| @@ -2,32 +2,31 @@ | |
| # Date created: 2011-03-17 | |
| # Whom: Zhihao Yuan <[email protected]> | |
| # | |
| -# $FreeBSD: ports/lang/pure/Makefile,v 1.3 2012/01/20 20:12:38 brooks Exp $ | |
| +# $FreeBSD: ports/lang/pure/Makefile,v 1.2 2011/04/09 19:21:47 makc Exp $ | |
| # | |
| 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= [email protected] | |
| 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 @@ | |
| @${CAT} ${PKGMESSAGE} | |
| +.include "bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/lang/pure.orig/bsd.pure.mk /usr/ports/lang/pure/bsd.pure.mk | |
| --- /usr/ports/lang/pure.orig/bsd.pure.mk 1969-12-31 18:00:00.000000000 -0600 | |
| +++ /usr/ports/lang/pure/bsd.pure.mk 2012-01-22 14:26:26.789101697 -0600 | |
| @@ -0,0 +1,97 @@ | |
| +# ex:ts=8 | |
| +# | |
| +# $FreeBSD$ | |
| +# | |
| +# bsd.pure.mk - Support for the Pure language packages | |
| +# | |
| +# Author: Zhihao Yuan <[email protected]> | |
| +# | |
| +# 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) | |
| + | |
| [email protected] | |
| +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 -ruN --exclude=CVS /usr/ports/lang/pure.orig/distinfo /usr/ports/lang/pure/distinfo | |
| --- /usr/ports/lang/pure.orig/distinfo 2011-04-09 14:21:47.000000000 -0500 | |
| +++ /usr/ports/lang/pure/distinfo 2012-01-22 14:07:08.358710778 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/lang/pure.orig/pkg-plist /usr/ports/lang/pure/pkg-plist | |
| --- /usr/ports/lang/pure.orig/pkg-plist 2011-04-09 14:21:47.000000000 -0500 | |
| +++ /usr/ports/lang/pure/pkg-plist 2012-01-22 14:04:11.389463715 -0600 | |
| @@ -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/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/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 -ruN --exclude=CVS /usr/ports/audio/pure-audio.orig/Makefile /usr/ports/audio/pure-audio/Makefile | |
| --- /usr/ports/audio/pure-audio.orig/Makefile 2011-10-17 05:08:26.000000000 -0500 | |
| +++ /usr/ports/audio/pure-audio/Makefile 2011-12-05 21:53:04.980621780 -0600 | |
| @@ -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= [email protected] | |
| 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 @@ | |
| -e "s|portaudio.h|portaudio2/portaudio.h|g" \ | |
| ${WRKSRC}/Makefile | |
| -PORTEXAMPLES= * | |
| - | |
| .include <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/audio/pure-audio.orig/distinfo /usr/ports/audio/pure-audio/distinfo | |
| --- /usr/ports/audio/pure-audio.orig/distinfo 2011-07-02 02:11:53.000000000 -0500 | |
| +++ /usr/ports/audio/pure-audio/distinfo 2011-12-05 22:02:49.363184748 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/textproc/pure-csv.orig/Makefile /usr/ports/textproc/pure-csv/Makefile | |
| --- /usr/ports/textproc/pure-csv.orig/Makefile 2011-08-19 06:26:57.000000000 -0500 | |
| +++ /usr/ports/textproc/pure-csv/Makefile 2011-12-05 21:55:23.755372975 -0600 | |
| @@ -6,24 +6,18 @@ | |
| # | |
| PORTNAME= pure-csv | |
| -PORTVERSION= 1.4 | |
| +PORTVERSION= 1.5 | |
| CATEGORIES= textproc | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.mk> | |
| +.include <bsd.port.pre.mk> | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| +.include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/textproc/pure-csv.orig/distinfo /usr/ports/textproc/pure-csv/distinfo | |
| --- /usr/ports/textproc/pure-csv.orig/distinfo 2011-06-27 09:47:00.000000000 -0500 | |
| +++ /usr/ports/textproc/pure-csv/distinfo 2011-12-05 22:03:19.432779826 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/devel/pure-ffi.orig/Makefile /usr/ports/devel/pure-ffi/Makefile | |
| --- /usr/ports/devel/pure-ffi.orig/Makefile 2011-08-19 06:26:56.000000000 -0500 | |
| +++ /usr/ports/devel/pure-ffi/Makefile 2011-12-05 22:04:29.929171055 -0600 | |
| @@ -7,35 +7,19 @@ | |
| PORTNAME= pure-ffi | |
| PORTVERSION= 0.12 | |
| +PORTREVISION= 1 | |
| CATEGORIES= devel | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/devel/pure-ffi.orig/distinfo /usr/ports/devel/pure-ffi/distinfo | |
| --- /usr/ports/devel/pure-ffi.orig/distinfo 2011-06-27 09:44:38.000000000 -0500 | |
| +++ /usr/ports/devel/pure-ffi/distinfo 2011-12-05 22:04:46.170491829 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/devel/pure-gen.orig/Makefile /usr/ports/devel/pure-gen/Makefile | |
| --- /usr/ports/devel/pure-gen.orig/Makefile 2011-10-18 17:20:31.000000000 -0500 | |
| +++ /usr/ports/devel/pure-gen/Makefile 2011-12-06 00:08:33.646443792 -0600 | |
| @@ -7,31 +7,21 @@ | |
| PORTNAME= pure-gen | |
| PORTVERSION= 0.12 | |
| +PORTREVISION= 1 | |
| CATEGORIES= devel | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 | |
| -MAN1= pure-gen.1 | |
| -LICENSE_FILE= ${WRKSRC}/COPYING | |
| - | |
| -USE_GMAKE= yes | |
| +USE_PURE= yes | |
| -MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" mandir=${PREFIX}/man | |
| +MAN1= pure-gen.1 | |
| -PORTEXAMPLES= * | |
| +CC= gcc | |
| .include <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/devel/pure-gen.orig/distinfo /usr/ports/devel/pure-gen/distinfo | |
| --- /usr/ports/devel/pure-gen.orig/distinfo 2011-10-18 17:20:31.000000000 -0500 | |
| +++ /usr/ports/devel/pure-gen/distinfo 2011-12-05 22:06:52.122977985 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/graphics/pure-gl.orig/Makefile /usr/ports/graphics/pure-gl/Makefile | |
| --- /usr/ports/graphics/pure-gl.orig/Makefile 2011-06-27 09:53:41.000000000 -0500 | |
| +++ /usr/ports/graphics/pure-gl/Makefile 2011-10-19 01:20:44.936101291 -0500 | |
| @@ -7,31 +7,19 @@ | |
| PORTNAME= pure-gl | |
| PORTVERSION= 0.8 | |
| +PORTREVISION= 1 | |
| CATEGORIES= graphics | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/graphics/pure-gl.orig/distinfo /usr/ports/graphics/pure-gl/distinfo | |
| --- /usr/ports/graphics/pure-gl.orig/distinfo 2011-06-27 09:53:41.000000000 -0500 | |
| +++ /usr/ports/graphics/pure-gl/distinfo 2011-12-05 22:08:50.366312959 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/x11-toolkits/pure-gtk.orig/Makefile /usr/ports/x11-toolkits/pure-gtk/Makefile | |
| --- /usr/ports/x11-toolkits/pure-gtk.orig/Makefile 2011-11-13 09:35:33.000000000 -0600 | |
| +++ /usr/ports/x11-toolkits/pure-gtk/Makefile 2011-12-05 22:15:39.032370868 -0600 | |
| @@ -7,33 +7,17 @@ | |
| PORTNAME= pure-gtk | |
| PORTVERSION= 0.10 | |
| +PORTREVISION= 1 | |
| CATEGORIES= x11-toolkits | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/x11-toolkits/pure-gtk.orig/distinfo /usr/ports/x11-toolkits/pure-gtk/distinfo | |
| --- /usr/ports/x11-toolkits/pure-gtk.orig/distinfo 2011-11-13 09:35:33.000000000 -0600 | |
| +++ /usr/ports/x11-toolkits/pure-gtk/distinfo 2011-12-05 22:15:49.217571359 -0600 | |
| @@ -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 | |
| diff -ruN --exclude=CVS /usr/ports/math/pure-rational.orig/Makefile /usr/ports/math/pure-rational/Makefile | |
| --- /usr/ports/math/pure-rational.orig/Makefile 2011-10-15 14:36:40.000000000 -0500 | |
| +++ /usr/ports/math/pure-rational/Makefile 2011-12-05 22:17:13.237221722 -0600 | |
| @@ -7,21 +7,20 @@ | |
| PORTNAME= pure-rational | |
| PORTVERSION= 0.1 | |
| +PORTREVISION= 1 | |
| CATEGORIES= math | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.mk> | |
| +.include <bsd.port.pre.mk> | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| +.include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/math/pure-rational.orig/distinfo /usr/ports/math/pure-rational/distinfo | |
| --- /usr/ports/math/pure-rational.orig/distinfo 2011-10-15 14:36:40.000000000 -0500 | |
| +++ /usr/ports/math/pure-rational/distinfo 2011-12-05 22:17:23.443423066 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/net/pure-sockets.orig/Makefile /usr/ports/net/pure-sockets/Makefile | |
| --- /usr/ports/net/pure-sockets.orig/Makefile 2011-10-18 17:20:32.000000000 -0500 | |
| +++ /usr/ports/net/pure-sockets/Makefile 2011-12-05 22:24:02.230255508 -0600 | |
| @@ -6,36 +6,17 @@ | |
| # | |
| PORTNAME= pure-sockets | |
| -PORTVERSION= 0.5 | |
| +PORTVERSION= 0.6 | |
| CATEGORIES= net | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| COMMENT= Pure language interface to the Berkeley socket functions | |
| -.include <bsd.port.pre.mk> | |
| - | |
| -.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 <bsd.port.pre.mk> | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/net/pure-sockets.orig/distinfo /usr/ports/net/pure-sockets/distinfo | |
| --- /usr/ports/net/pure-sockets.orig/distinfo 2011-10-18 17:20:32.000000000 -0500 | |
| +++ /usr/ports/net/pure-sockets/distinfo 2011-12-05 22:20:12.645747574 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/databases/pure-sql3.orig/Makefile /usr/ports/databases/pure-sql3/Makefile | |
| --- /usr/ports/databases/pure-sql3.orig/Makefile 2011-08-19 06:26:56.000000000 -0500 | |
| +++ /usr/ports/databases/pure-sql3/Makefile 2011-10-19 01:24:33.877025736 -0500 | |
| @@ -7,33 +7,19 @@ | |
| PORTNAME= pure-sql3 | |
| PORTVERSION= 0.4 | |
| +PORTREVISION= 1 | |
| CATEGORIES= databases | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/databases/pure-sql3.orig/distinfo /usr/ports/databases/pure-sql3/distinfo | |
| --- /usr/ports/databases/pure-sql3.orig/distinfo 2011-06-27 09:45:31.000000000 -0500 | |
| +++ /usr/ports/databases/pure-sql3/distinfo 2011-12-05 22:32:45.219568422 -0600 | |
| @@ -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 -ruN --exclude=CVS /usr/ports/textproc/pure-xml.orig/Makefile /usr/ports/textproc/pure-xml/Makefile | |
| --- /usr/ports/textproc/pure-xml.orig/Makefile 2011-06-27 09:48:01.000000000 -0500 | |
| +++ /usr/ports/textproc/pure-xml/Makefile 2011-12-05 22:34:06.009184391 -0600 | |
| @@ -7,34 +7,18 @@ | |
| PORTNAME= pure-xml | |
| PORTVERSION= 0.6 | |
| +PORTREVISION= 1 | |
| CATEGORIES= textproc | |
| -MASTER_SITES= http://pure-lang.googlecode.com/files/ | |
| MAINTAINER= [email protected] | |
| 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 <bsd.port.pre.mk> | |
| - | |
| -post-install: | |
| -.if !defined(NOPORTEXAMPLES) | |
| - @${MKDIR} ${EXAMPLESDIR} | |
| - (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) | |
| -.endif | |
| - | |
| +.include "${PORTSDIR}/lang/pure/bsd.pure.mk" | |
| .include <bsd.port.post.mk> | |
| diff -ruN --exclude=CVS /usr/ports/textproc/pure-xml.orig/distinfo /usr/ports/textproc/pure-xml/distinfo | |
| --- /usr/ports/textproc/pure-xml.orig/distinfo 2011-06-27 09:48:01.000000000 -0500 | |
| +++ /usr/ports/textproc/pure-xml/distinfo 2011-12-05 22:34:21.718497388 -0600 | |
| @@ -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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment