summaryrefslogtreecommitdiff
path: root/math/pari
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-13 23:32:17 +0000
committersnj <snj@pkgsrc.org>2004-04-13 23:32:17 +0000
commita8abb184cdbc099579e2a24b35ca488f922b5cd2 (patch)
tree56712e12ec7fc327fbf8f9bb23b5bf2197536975 /math/pari
parentac65b3b91834f0e00f832baea1ab741efe26d5fe (diff)
downloadpkgsrc-a8abb184cdbc099579e2a24b35ca488f922b5cd2.tar.gz
Convert to buildlink3.
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/buildlink2.mk21
-rw-r--r--math/pari/buildlink3.mk19
2 files changed, 19 insertions, 21 deletions
diff --git a/math/pari/buildlink2.mk b/math/pari/buildlink2.mk
deleted file mode 100644
index a5f3d06348e..00000000000
--- a/math/pari/buildlink2.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.3 2004/03/26 02:27:45 wiz Exp $
-
-.if !defined(PARI_BUILDLINK2_MK)
-PARI_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= pari
-BUILDLINK_DEPENDS.pari?= pari>=2.1.5nb1
-BUILDLINK_RECOMMENDED.pari?= pari>=2.1.5nb3
-BUILDLINK_PKGSRCDIR.pari?= ../../math/pari
-BUILDLINK_DEPMETHOD.pari?= build
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.pari=pari
-BUILDLINK_PREFIX.pari_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.pari= include/pari/*
-BUILDLINK_FILES.pari+= lib/libpari.*
-
-BUILDLINK_TARGETS+= pari-buildlink
-
-pari-buildlink: _BUILDLINK_USE
-
-.endif # PARI_BUILDLINK2_MK
diff --git a/math/pari/buildlink3.mk b/math/pari/buildlink3.mk
new file mode 100644
index 00000000000..e12ca3a3694
--- /dev/null
+++ b/math/pari/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/13 23:32:17 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PARI_BUILDLINK3_MK:= ${PARI_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= pari
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npari}
+BUILDLINK_PACKAGES+= pari
+
+.if !empty(PARI_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.pari+= pari>=2.1.5nb1
+BUILDLINK_RECOMMENDED.pari+= pari>=2.1.5nb3
+BUILDLINK_PKGSRCDIR.pari?= ../../math/pari
+.endif # PARI_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}