diff options
author | snj <snj@pkgsrc.org> | 2004-04-12 01:50:32 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-12 01:50:32 +0000 |
commit | 58ad448e55288f0c0c127682b6266909f3c47cd1 (patch) | |
tree | d2b8fec79e8772209909a0784c9de6598b3b86cc /converters/recode | |
parent | c7d7c103807780f7cffa9e9a2ff3cac6cdf3233a (diff) | |
download | pkgsrc-58ad448e55288f0c0c127682b6266909f3c47cd1.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'converters/recode')
-rw-r--r-- | converters/recode/Makefile | 6 | ||||
-rw-r--r-- | converters/recode/buildlink2.mk | 22 | ||||
-rw-r--r-- | converters/recode/buildlink3.mk | 20 |
3 files changed, 23 insertions, 25 deletions
diff --git a/converters/recode/Makefile b/converters/recode/Makefile index 37e18a1b0ae..82dd6b4d652 100644 --- a/converters/recode/Makefile +++ b/converters/recode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/08/09 10:35:48 seb Exp $ +# $NetBSD: Makefile,v 1.18 2004/04/12 01:50:32 snj Exp $ # DISTNAME= recode-3.6 @@ -10,7 +10,7 @@ MAINTAINER= kleink@NetBSD.org HOMEPAGE= http://www.gnu.org/software/recode/recode.html COMMENT= Convert files between character sets and usages -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes USE_LIBTOOL= yes @@ -18,5 +18,5 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig INFO_FILES= recode.info -.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/converters/recode/buildlink2.mk b/converters/recode/buildlink2.mk deleted file mode 100644 index 11b95ddf5b1..00000000000 --- a/converters/recode/buildlink2.mk +++ /dev/null @@ -1,22 +0,0 @@ -# $NetBSD: buildlink2.mk,v 1.3 2003/07/13 13:50:54 wiz Exp $ - -.if !defined(RECODE_BUILDLINK2_MK) -RECODE_BUILDLINK2_MK= # defined - -BUILDLINK_PACKAGES+= recode -BUILDLINK_DEPENDS.recode?= recode>=3.6nb1 -BUILDLINK_PKGSRCDIR.recode?= ../../databases/recode - -EVAL_PREFIX+= BUILDLINK_PREFIX.recode=recode -BUILDLINK_PREFIX.recode_DEFAULT= ${LOCALBASE} -BUILDLINK_FILES.recode= include/recode.h -BUILDLINK_FILES.recode+= include/recodext.h -BUILDLINK_FILES.recode+= lib/librecode.* - -.include "../../devel/gettext-lib/buildlink2.mk" - -BUILDLINK_TARGETS+= recode-buildlink - -recode-buildlink: _BUILDLINK_USE - -.endif # RECODE_BUILDLINK2_MK diff --git a/converters/recode/buildlink3.mk b/converters/recode/buildlink3.mk new file mode 100644 index 00000000000..8abe740dfba --- /dev/null +++ b/converters/recode/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/12 01:50:32 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +RECODE_BUILDLINK3_MK:= ${RECODE_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= recode +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrecode} +BUILDLINK_PACKAGES+= recode + +.if !empty(RECODE_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.recode+= recode>=3.6nb1 +BUILDLINK_PKGSRCDIR.recode?= ../../converters/recode +.endif # RECODE_BUILDLINK3_MK + +.include "../../devel/gettext-lib/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |