1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update pure to 0.51 and update modules

PR:		ports/161799
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2012-01-26 11:18:51 +00:00
parent d02e1fb0bb
commit ff60500447
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289841
24 changed files with 179 additions and 206 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 <bsd.port.post.mk>

97
lang/pure/bsd.pure.mk Normal file
View File

@ -0,0 +1,97 @@
# ex:ts=8
#
# $FreeBSD$
#
# bsd.pure.mk - Support for the Pure language packages
#
# Author: Zhihao Yuan <lichray@gmail.com>
#
# 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)

View File

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

View File

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

View File

@ -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 <bsd.port.mk>
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
.include <bsd.port.post.mk>

View File

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

View File

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

View File

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

View File

@ -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 <bsd.port.mk>
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
.include <bsd.port.post.mk>

View File

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

View File

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

View File

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

View File

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

View File

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