summaryrefslogtreecommitdiffstats
path: root/math/pari-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/pari-devel/Makefile')
-rw-r--r--math/pari-devel/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/math/pari-devel/Makefile b/math/pari-devel/Makefile
index 074033d..ee4f79f 100644
--- a/math/pari-devel/Makefile
+++ b/math/pari-devel/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= pari
-PORTVERSION= 2.2.3.a
+PORTVERSION= ${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}.a
CATEGORIES= math
-MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.2/
-DISTNAME= pari-2.2.3.alpha
+MASTER_SITES= ftp://www.gn-50uma.de/gn/gn-50uma.de/pari-2.2/ \
+ http://www.gn-50uma.de/ftp/pari-2.2/
+DISTNAME= pari-${MAJOR_VERSION}.${MINOR_VERSION}.${REV_VERSION}.alpha
MAINTAINER= yoshiaki@kt.rim.or.jp
@@ -23,6 +24,11 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --share-prefix=${PREFIX}/share
USE_GMAKE= yes
MAKE_ARGS= gp
+PLIST_SUB= MAJOR_VERSION=${MAJOR_VERSION} MINOR_VERSION=${MINOR_VERSION} REV_VERSION=${REV_VERSION}
+
+MAJOR_VERSION= 2
+MINOR_VERSION= 2
+REV_VERSION= 4
MAN1= gp.1 gphelp.1 tex2mail.1
MLINKS= gp.1 pari.1
OpenPOWER on IntegriCloud