aboutsummaryrefslogtreecommitdiff
path: root/lang/racket
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-14 09:37:54 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-14 09:37:54 +0000
commit8e7375545891431952aad133f283f15140030cc8 (patch)
treeb3851382af62a47d8d71b3c9132c5ae1c82842f5 /lang/racket
parent632830944ed249e1dee5de2ca896c123718b3ddd (diff)
downloadports-8e7375545891431952aad133f283f15140030cc8.tar.gz
ports-8e7375545891431952aad133f283f15140030cc8.zip
Notes
Diffstat (limited to 'lang/racket')
-rw-r--r--lang/racket/Makefile37
1 files changed, 12 insertions, 25 deletions
diff --git a/lang/racket/Makefile b/lang/racket/Makefile
index 8a51b596f2db..876c9baee678 100644
--- a/lang/racket/Makefile
+++ b/lang/racket/Makefile
@@ -3,6 +3,7 @@
PORTNAME= racket
PORTVERSION= 6.1
+PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= http://mirror.racket-lang.org/installers/${PORTVERSION}/ \
http://www.cs.utah.edu/plt/installers/${PORTVERSION}/ \
@@ -16,38 +17,24 @@ DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Interactive, integrated, graphical Scheme programming environment
+LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi \
+ libcairo.so:${PORTSDIR}/graphics/cairo \
+ libjpeg.so:${PORTSDIR}/graphics/jpeg \
+ libpng15.so:${PORTSDIR}/graphics/png
+
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= RACKET_PLACES
-RACKET_PLACES_DESC= Enable Places
OPTIONS_DEFAULT= RACKET_PLACES
+RACKET_PLACES_DESC= Enable Places
+RACKET_PLACES_CONFIGURE_ENABLE= places
CONFLICTS= racket-minimal-[0-9]*
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-shared --enable-pthread \
- --enable-lt=${LIBTOOL}
-
-.include <bsd.port.options.mk>
-
-.if defined(WITHOUT_X11)
-IGNORE= requires X11; use lang/racket-textual instead
-.endif
-
-LIB_DEPENDS+= libffi.so:${PORTSDIR}/devel/libffi \
- libcairo.so:${PORTSDIR}/graphics/cairo \
- libjpeg.so:${PORTSDIR}/graphics/jpeg \
- libpng15.so:${PORTSDIR}/graphics/png
-
-.if ${PORT_OPTIONS:MRACKET_PLACES}
-CONFIGURE_ARGS+= --enable-places
-.else
-CONFIGURE_ARGS+= --disable-places
-.endif
-
-# Force the "configure" script to look in $LOCALBASE for -lpng and -ljpeg
-LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS= --disable-lt --enable-shared --enable-pthread
CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/racket-${PORTVERSION}/src
USES= iconv libtool tar:tgz
@@ -57,7 +44,7 @@ USE_SQLITE= 3
ONLY_FOR_ARCHS= i386 amd64
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CPPFLAGS+= -DLONG64
@@ -67,4 +54,4 @@ post-install:
${REINPLACE_CMD} -e "s@${STAGEDIR}@@" ${STAGEDIR}${PREFIX}/share/applications/*.desktop
${RM} ${STAGEDIR}${PREFIX}/share/applications/*.bak
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>