diff options
Diffstat (limited to 'lang/drscheme/Makefile')
-rw-r--r-- | lang/drscheme/Makefile | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/lang/drscheme/Makefile b/lang/drscheme/Makefile index c79fde5472d4..d353a3653c7f 100644 --- a/lang/drscheme/Makefile +++ b/lang/drscheme/Makefile @@ -6,7 +6,7 @@ # PORTNAME= drscheme -PORTVERSION= 209 +PORTVERSION= 300 CATEGORIES= lang scheme MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/ \ http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/ \ @@ -23,23 +23,33 @@ MAINTAINER= jkoshy@FreeBSD.org COMMENT= An interactive, integrated, graphical Scheme programming environment HAS_CONFIGURE= yes -CONFIGURE_ARGS= --prefix=${PLTHOME} --enable-shared \ +CONFIGURE_ARGS= --prefix=${PLTHOME} --enable-shared \ --x-includes=${X11BASE}/include \ --x-libraries=${X11BASE}/lib +OPTIONS= CAIRO "use Cairo graphics" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_CAIRO) +CONFIGURE_ARGS+= --enable-cairo +LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo +.else +CONFIGURE_ARGS+= --disable-cairo +.endif + WRKSRC= ${WRKDIR}/plt/src USE_XLIB= yes USE_GMAKE= yes PLTHOME= ${PREFIX}/drscheme PLTPATCHES= # none yet for this version -DRS_B= drscheme mred mzc mzscheme tex2page help-desk +DRS_B= drscheme gmzc help-desk mred mzc mzscheme planet tex2page MAN1= drscheme.1 help-desk.1 mred.1 mzscheme.1 tex2page.1 ONLY_FOR_ARCHS= i386 post-install: - cd ${PLTHOME} && bin/setup-plt .for f in ${PLTPATCHES} cd ${PLTHOME} && bin/setup-plt ${_DISTDIR}/${f:S/:PLT//} .endfor @@ -50,4 +60,4 @@ post-install: ${INSTALL_MAN} ${PLTHOME}/man/man1/$f ${PREFIX}/man/man1/ .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> |