aboutsummaryrefslogtreecommitdiff
path: root/net/pure-sockets/Makefile
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-10-18 22:20:32 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-10-18 22:20:32 +0000
commitfc80b30a92b8b1c9efa489b8b4e99944739e48c7 (patch)
treec1e73e6f9cbbee440bff154b7a734530a3e1c40f /net/pure-sockets/Makefile
parent482aaa2803d4580a41531afa953d0c0d6e6e5aac (diff)
downloadports-fc80b30a92b8b1c9efa489b8b4e99944739e48c7.tar.gz
ports-fc80b30a92b8b1c9efa489b8b4e99944739e48c7.zip
- update pure-gen to 0.12
- update pure-gtk to 0.10 - update pure-sockets to 0.5 -- remove duplicate pkg-plist entries -- make clang dep unconditional PR: ports/161423 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer) Approved by: bapt (mentor)
Notes
Notes: svn path=/head/; revision=283865
Diffstat (limited to 'net/pure-sockets/Makefile')
-rw-r--r--net/pure-sockets/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/pure-sockets/Makefile b/net/pure-sockets/Makefile
index d1a42ce10eb1..b968625b62e8 100644
--- a/net/pure-sockets/Makefile
+++ b/net/pure-sockets/Makefile
@@ -6,14 +6,18 @@
#
PORTNAME= pure-sockets
-PORTVERSION= 0.4
+PORTVERSION= 0.5
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
@@ -28,8 +32,6 @@ MAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include \
PORTEXAMPLES= *
-.include <bsd.port.pre.mk>
-
post-install:
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}