pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/swig-build Enable pkgviews installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/143d8f6f7933
branches:  trunk
changeset: 470294:143d8f6f7933
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Mar 07 23:20:55 2004 +0000

description:
Enable pkgviews installation.

diffstat:

 devel/swig-build/Makefile      |   4 +++-
 devel/swig-build/buildlink3.mk |  24 ++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 1817525ac40a -r 143d8f6f7933 devel/swig-build/Makefile
--- a/devel/swig-build/Makefile Sun Mar 07 23:20:35 2004 +0000
+++ b/devel/swig-build/Makefile Sun Mar 07 23:20:55 2004 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/05/25 08:52:37 epg Exp $
+# $NetBSD: Makefile,v 1.2 2004/03/07 23:20:55 minskim Exp $
 
 PKGNAME=       swig-build-${SWIG_VERSION}
 COMMENT=       Simplified Wrapper and Interface Generator, base build files
 
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
 .include "Makefile.common"
 
 CONFIGURE_ARGS+=       --without-guile
diff -r 1817525ac40a -r 143d8f6f7933 devel/swig-build/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/swig-build/buildlink3.mk    Sun Mar 07 23:20:55 2004 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 23:20:55 minskim Exp $
+
+BUILDLINK_DEPTH:=              ${BUILDLINK_DEPTH}+
+SWIG_BUILD_BUILDLINK3_MK:=     ${SWIG_BUILD_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+=    swig-build
+.endif
+
+BUILDLINK_PACKAGES:=   ${BUILDLINK_PACKAGES:Nswig-build}
+BUILDLINK_PACKAGES+=   swig-build
+
+.if !empty(SWIG_BUILD_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.swig-build+= swig-build>=${SWIG_VERSION}
+BUILDLINK_PKGSRCDIR.swig-build?=       ../../devel/swig-build
+
+# This package contains no run-time components.
+BUILDLINK_DEPMETHOD.swig-build?=       build
+
+.include "../../devel/swig-build/Makefile.version"
+
+.endif # SWIG_BUILD_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index