diff options
author | snj <snj@pkgsrc.org> | 2004-05-03 20:49:33 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-05-03 20:49:33 +0000 |
commit | b253bd67942ce1ea2b92589d71fe981bcb544847 (patch) | |
tree | 9956513a2c22f28f3884cb128c4e74dfa36a2a6e /devel/gtl | |
parent | 65f7b29cd49c589cf5d1e722eb7030ece9f8d7b1 (diff) | |
download | pkgsrc-b253bd67942ce1ea2b92589d71fe981bcb544847.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'devel/gtl')
-rw-r--r-- | devel/gtl/Makefile | 4 | ||||
-rw-r--r-- | devel/gtl/buildlink2.mk | 22 | ||||
-rw-r--r-- | devel/gtl/buildlink3.mk | 18 |
3 files changed, 20 insertions, 24 deletions
diff --git a/devel/gtl/Makefile b/devel/gtl/Makefile index b204df8137c..13bba844857 100644 --- a/devel/gtl/Makefile +++ b/devel/gtl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/04/24 22:46:09 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2004/05/03 20:49:33 snj Exp $ DISTNAME= GTL-0.3.3 PKGNAME= gtl-0.3.3 @@ -10,7 +10,7 @@ HOMEPAGE= http://www.fmi.uni-passau.de/Graphlet/GTL/ COMMENT= C++ graph data structure library based on the STL USE_LIBTOOL= # defined -USE_BUILDLINK2= # defined +USE_BUILDLINK3= yes USE_LANGUAGES= c c++ LICENSE= no-commercial-use diff --git a/devel/gtl/buildlink2.mk b/devel/gtl/buildlink2.mk deleted file mode 100644 index ae061fe57c8..00000000000 --- a/devel/gtl/buildlink2.mk +++ /dev/null @@ -1,22 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.2 2003/01/07 13:20:38 wiz Exp $ -# -# This Makefile fragment is included by packages that use gtl. -# - -.if !defined(GTL_BUILDLINK2_MK) -GTL_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= gtl -BUILDLINK_DEPENDS.gtl?= gtl>=0.3.3 -BUILDLINK_PKGSRCDIR.gtl?= ../../devel/gtl - -EVAL_PREFIX+= BUILDLINK_PREFIX.gtl=gtl -BUILDLINK_PREFIX.gtl_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.gtl+= include/GTL/* -BUILDLINK_FILES.gtl+= lib/libGTL.* - -BUILDLINK_TARGETS+= gtl-buildlink - -gtl-buildlink: _BUILDLINK_USE - -.endif # GTL_BUILDLINK2_MK diff --git a/devel/gtl/buildlink3.mk b/devel/gtl/buildlink3.mk new file mode 100644 index 00000000000..f833d6b0656 --- /dev/null +++ b/devel/gtl/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/05/03 20:49:33 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GTL_BUILDLINK3_MK:= ${GTL_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= gtl +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtl} +BUILDLINK_PACKAGES+= gtl + +.if !empty(GTL_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.gtl+= gtl>=0.3.3 +BUILDLINK_PKGSRCDIR.gtl?= ../../devel/gtl +.endif # GTL_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |