diff options
author | minskim <minskim@pkgsrc.org> | 2004-03-07 01:17:12 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-03-07 01:17:12 +0000 |
commit | 41bb56e7058394f7a5c01346a9946d500e8e65d0 (patch) | |
tree | e9910331041105fb8c4163ceef5a2207ceb49652 /devel | |
parent | 12065e1b80cafc4b88fbf88cf4ebb07453d077f4 (diff) | |
download | pkgsrc-41bb56e7058394f7a5c01346a9946d500e8e65d0.tar.gz |
bl3ify and enable pkgviews installation.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/chmlib/Makefile | 10 | ||||
-rw-r--r-- | devel/chmlib/buildlink3.mk | 18 |
2 files changed, 25 insertions, 3 deletions
diff --git a/devel/chmlib/Makefile b/devel/chmlib/Makefile index 72af9358b08..bf84457ec24 100644 --- a/devel/chmlib/Makefile +++ b/devel/chmlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2004/01/22 08:24:28 grant Exp $ +# $NetBSD: Makefile,v 1.3 2004/03/07 01:17:12 minskim Exp $ # DISTNAME= chmlib-0.31 @@ -10,11 +10,15 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://66.93.236.84/%7Ejedwin/projects/chmlib/ COMMENT= Library for dealing with Microsoft ITSS/CHM format files -USE_BUILDLINK2= yes +PKG_INSTALLATION_TYPES= overwrite pkgviews + +USE_BUILDLINK3= yes USE_GNU_TOOLS+= make USE_LIBTOOL= yes +INSTALLATION_DIRS= include lib + PTHREAD_OPTS= require -.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/chmlib/buildlink3.mk b/devel/chmlib/buildlink3.mk new file mode 100644 index 00000000000..d169d5cb0b3 --- /dev/null +++ b/devel/chmlib/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 01:17:12 minskim Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +CHMLIB_BUILDLINK3_MK:= ${CHMLIB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= chmlib +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nchmlib} +BUILDLINK_PACKAGES+= chmlib + +.if !empty(CHMLIB_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.chmlib+= chmlib>=0.31 +BUILDLINK_PKGSRCDIR.chmlib?= ../../devel/chmlib +.endif # CHMLIB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |