aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-06-15 02:58:41 +0800
committerjohans <johans@FreeBSD.org>2012-06-15 02:58:41 +0800
commit0ba52960a00c8afaf3df926de2d16152d79f9cf9 (patch)
tree0176abf01d131f7e9bc59449c8ad862e14ad292d /lang
parentd490d3ae58a0b3155999098eea6a1b88bf0a7790 (diff)
downloadfreebsd-ports-gnome-0ba52960a00c8afaf3df926de2d16152d79f9cf9.tar.gz
freebsd-ports-gnome-0ba52960a00c8afaf3df926de2d16152d79f9cf9.tar.zst
freebsd-ports-gnome-0ba52960a00c8afaf3df926de2d16152d79f9cf9.zip
- Update Pike to 7.8.686 (beta) release
- Convert to new options style
Diffstat (limited to 'lang')
-rw-r--r--lang/pike78/Makefile48
-rw-r--r--lang/pike78/distinfo4
2 files changed, 21 insertions, 31 deletions
diff --git a/lang/pike78/Makefile b/lang/pike78/Makefile
index e28af6312423..2f9398714184 100644
--- a/lang/pike78/Makefile
+++ b/lang/pike78/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= pike78
-PORTVERSION= 7.8.352
-PORTREVISION= 8
+PORTVERSION= 7.8.686
CATEGORIES= lang
-MASTER_SITES= ftp://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
- http://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
+MASTER_SITES= http://pike.ida.liu.se/pub/pike/all/${PORTVERSION}/ \
ftp://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
http://pike.ida.liu.se/pub/pike/beta/${PORTVERSION}/ \
ftp://ftp.caudium.net/pike/official_releases/${PORTVERSION}/
@@ -19,19 +17,19 @@ DISTNAME= Pike-v${PORTVERSION}
MAINTAINER= johans@FreeBSD.org
COMMENT= A dynamic programming language with a syntax similar to C++
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
- tiff.4:${PORTSDIR}/graphics/tiff \
- gdbm.4:${PORTSDIR}/databases/gdbm \
- pcre.1:${PORTSDIR}/devel/pcre \
- mird.1:${PORTSDIR}/databases/mird \
- gmp.10:${PORTSDIR}/math/gmp
+LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
+ tiff:${PORTSDIR}/graphics/tiff \
+ gdbm:${PORTSDIR}/databases/gdbm \
+ pcre:${PORTSDIR}/devel/pcre \
+ mird:${PORTSDIR}/databases/mird \
+ gmp:${PORTSDIR}/math/gmp
CONFLICTS= pike7[26]-[0-9]*
-OPTIONS= TTF "Add FreeType 1 support" on \
- FREETYPE "Add FreeType 2 support" on \
- MYSQL "Add MySQL support" on \
- POSTGRESQL "Add Postgres SQL support" off
+OPTIONS_DEFINE= TTF FREETYPE MYSQL PGSQL
+OPTIONS_DEFAULT=TTF FREETYPE MYSQL
+NO_OPTIONS_SORT=yes
+TTF_DESC?= Enable FreeType 1 (libttf) font rendering engine
MAN1= pike.1
@@ -91,15 +89,7 @@ PLIST_FILES= bin/pike bin/pike78 bin/hilfe
.include <bsd.port.pre.mk>
-ONLY_FOR_ARCHS= i386 amd64 sparc64
-
-.if ${OSVERSION} < 800000 && ${ARCH} == "amd64"
-BROKEN= segfaults during build
-.endif
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not link on sparc64
-.endif
+ONLY_FOR_ARCHS= i386 amd64
.ifdef(WITHOUT_RELOCATABLE_DUMPED_MODULES)
CONFIGURE_ARGS+= --without-relocatable-dumped-modules
@@ -107,28 +97,28 @@ CONFIGURE_ARGS+= --without-relocatable-dumped-modules
CONFIGURE_ARGS+= --with-relocatable-dumped-modules
.endif
-.ifdef(WITH_TTF)
-LIB_DEPENDS+= ttf.4:${PORTSDIR}/print/freetype
+.if ${PORT_OPTIONS:MTTF}
+LIB_DEPENDS+= ttf:${PORTSDIR}/print/freetype
CONFIGURE_ARGS+= --with-ttflib
.else
CONFIGURE_ARGS+= --without-ttflib
.endif
-.ifdef(WITH_FREETYPE)
-LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+.if ${PORT_OPTIONS:MFREETYPE}
+LIB_DEPENDS+= freetype:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+= --with-freetype
.else
CONFIGURE_ARGS+= --without-freetype
.endif
-.ifdef(WITH_MYSQL)
+.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql=${PREFIX}
.else
CONFIGURE_ARGS+= --without-mysql
.endif
-.ifdef(WITH_POSTGRESQL)
+.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-pgsql=${PREFIX}
.else
diff --git a/lang/pike78/distinfo b/lang/pike78/distinfo
index 685b9ea82fb5..3e989da64650 100644
--- a/lang/pike78/distinfo
+++ b/lang/pike78/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Pike-v7.8.352.tar.gz) = d7b12baf0f6a7e9fabd369380814bcc946ca2c3d0992f9a181718fc97ed52d37
-SIZE (Pike-v7.8.352.tar.gz) = 14073178
+SHA256 (Pike-v7.8.686.tar.gz) = a41231f4cd3b1a24aa5525358c758db1cd7ca86419790aeb0639604de105a501
+SIZE (Pike-v7.8.686.tar.gz) = 15440558