pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/chmlib bl3ify and enable pkgviews installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/839af96b0ab9
branches:  trunk
changeset: 470139:839af96b0ab9
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Mar 07 01:17:12 2004 +0000

description:
bl3ify and enable pkgviews installation.

diffstat:

 devel/chmlib/Makefile      |  10 +++++++---
 devel/chmlib/buildlink3.mk |  18 ++++++++++++++++++
 2 files changed, 25 insertions(+), 3 deletions(-)

diffs (49 lines):

diff -r 0bec8e6c9392 -r 839af96b0ab9 devel/chmlib/Makefile
--- a/devel/chmlib/Makefile     Sun Mar 07 01:16:01 2004 +0000
+++ b/devel/chmlib/Makefile     Sun Mar 07 01:17:12 2004 +0000
@@ -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 @@
 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 -r 0bec8e6c9392 -r 839af96b0ab9 devel/chmlib/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/chmlib/buildlink3.mk        Sun Mar 07 01:17:12 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index