diff options
author | snj <snj@pkgsrc.org> | 2004-04-16 21:27:22 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-16 21:27:22 +0000 |
commit | 71452790203c50e4fd4e722d8d6286c005107ca8 (patch) | |
tree | bf0881ef84f366b2dfe33e0d3ac0840188c88f03 /devel/pccts | |
parent | 597b7a9fcbaab0fa54998e3dd64557d1ad9e1ebf (diff) | |
download | pkgsrc-71452790203c50e4fd4e722d8d6286c005107ca8.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'devel/pccts')
-rw-r--r-- | devel/pccts/Makefile | 4 | ||||
-rw-r--r-- | devel/pccts/buildlink3.mk | 19 |
2 files changed, 22 insertions, 1 deletions
diff --git a/devel/pccts/Makefile b/devel/pccts/Makefile index fb6bbfc1b62..e4d8df763b6 100644 --- a/devel/pccts/Makefile +++ b/devel/pccts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/01/20 12:13:29 agc Exp $ +# $NetBSD: Makefile,v 1.12 2004/04/16 21:27:22 snj Exp $ # DISTNAME= pccts133mr22 @@ -17,6 +17,8 @@ DIST_SUBDIR= ${PKGNAME} MAKEFILE= makefile ALL_TARGET= +USE_BUILDLINK3= yes + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/antlr ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/dlg ${PREFIX}/bin diff --git a/devel/pccts/buildlink3.mk b/devel/pccts/buildlink3.mk new file mode 100644 index 00000000000..6e783d9d975 --- /dev/null +++ b/devel/pccts/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/16 21:27:22 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PCCTS_BUILDLINK3_MK:= ${PCCTS_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= pccts +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npccts} +BUILDLINK_PACKAGES+= pccts + +.if !empty(PCCTS_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.pccts+= pccts>=1.33.22 +BUILDLINK_PKGSRCDIR.pccts?= ../../devel/pccts +BUILDLINK_DEPMETHOD.pccts?= build +.endif # PCCTS_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |