aboutsummaryrefslogtreecommitdiff
path: root/lang/pike78
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-14 18:58:41 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-14 18:58:41 +0000
commitf10b71ba3869e1477736abf2119c60c1044944c7 (patch)
tree036988bf0a01fd4b9a059ba8f492c2ba2b460326 /lang/pike78
parenta7da9217b574ed5d831570e12b1b6bbab283042d (diff)
downloadports-f10b71ba3869e1477736abf2119c60c1044944c7.tar.gz
ports-f10b71ba3869e1477736abf2119c60c1044944c7.zip
- Update Pike to 7.8.686 (beta) release
- Convert to new options style
Notes
Notes: svn path=/head/; revision=299278
Diffstat (limited to 'lang/pike78')
-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