svn commit: r368164 - head/lang/racket
Tijl Coosemans
tijl at FreeBSD.org
Sun Sep 14 09:37:54 UTC 2014
Author: tijl
Date: Sun Sep 14 09:37:54 2014
New Revision: 368164
URL: http://svnweb.freebsd.org/changeset/ports/368164
QAT: https://qat.redports.org/buildarchive/r368164/
Log:
- Move some variable definitions in front of bsd.port.options.mk
- Use option helpers
- Specify --disable-lt to use the bundled libtool
Modified:
head/lang/racket/Makefile
Modified: head/lang/racket/Makefile
==============================================================================
--- head/lang/racket/Makefile Sun Sep 14 09:14:23 2014 (r368163)
+++ head/lang/racket/Makefile Sun Sep 14 09:37:54 2014 (r368164)
@@ -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 at 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>
More information about the svn-ports-all
mailing list