summaryrefslogtreecommitdiff
path: root/math/reduce/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/reduce/Makefile')
-rw-r--r--math/reduce/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/math/reduce/Makefile b/math/reduce/Makefile
index 364c7a2eb1cc..a46ff4b6aed0 100644
--- a/math/reduce/Makefile
+++ b/math/reduce/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= reduce
-PORTVERSION= 20110414
-PORTREVISION= 2
+PORTVERSION= 20141130
CATEGORIES= math lang
-MASTER_SITES= SF/${PORTNAME}-algebra/
-DISTNAME= ${PORTNAME}-src-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}-algebra/Snapshot_2014-11-30/
+DISTNAME= ${PORTNAME}-src-2014-11-30
MAINTAINER= pfg@FreeBSD.org
COMMENT= Portable general-purpose computer algebra system (CSL version)
@@ -18,13 +17,14 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng.so:${PORTSDIR}/graphics/png \
libtiff.so:${PORTSDIR}/graphics/tiff
-USES= gmake tar:bzip2
+USES= autoreconf:build gmake tar:bzip2
USE_XORG= xext x11 xft
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC= ${WRKDIR}/${DISTNAME}
+# Avoid GNU_CONFIGURE because it breaks staging
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --with-csl
+CONFIGURE_ARGS+= --with-csl
ALL_TARGET=
MAKE_JOBS_UNSAFE= yes
@@ -38,6 +38,9 @@ TARGET_SDIR= ${ARCH}-unknown-${OPSYS:tl}${OSREL}
.endif
REDUCECSL= ${WRKSRC}/cslbuild/${TARGET_SDIR}/csl
+CPPFLAGS+= `freetype-config --cflags`
+LDFLAGS+= `freetype-config --libs`
+
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_PROGRAM} ${REDUCECSL}/reduce ${STAGEDIR}${DATADIR}