summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2004-04-14 15:40:14 +0000
committermanu <manu@pkgsrc.org>2004-04-14 15:40:14 +0000
commit74694fe0d79c9b87f8f95eef5f49238c74bc1c69 (patch)
tree620a0b0b693ee1a03c3658a3f1350a2516b98907
parent74342c250cb63bbde0cabc0fa021850aff7750ec (diff)
downloadpkgsrc-74694fe0d79c9b87f8f95eef5f49238c74bc1c69.tar.gz
Added buildlink2 support to the package
-rw-r--r--mail/libspf-alt/Makefile4
-rw-r--r--mail/libspf-alt/buildlink2.mk12
2 files changed, 15 insertions, 1 deletions
diff --git a/mail/libspf-alt/Makefile b/mail/libspf-alt/Makefile
index 9b184594177..2c5f46a338d 100644
--- a/mail/libspf-alt/Makefile
+++ b/mail/libspf-alt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/04/14 14:44:08 manu Exp $
+# $NetBSD: Makefile,v 1.2 2004/04/14 15:40:14 manu Exp $
#
DISTNAME= libspf_alt-0.4.0
@@ -14,5 +14,7 @@ DEPENDS+= bind>=9.2.3nb3:../../net/bind9
HAS_CONFIGURE= YES
CONFIGURE_ARGS+=--with-bind=${PREFIX} --prefix=${PREFIX}
+USE_BUILDLINK2= YES
+
.include "../../net/bind9/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/libspf-alt/buildlink2.mk b/mail/libspf-alt/buildlink2.mk
new file mode 100644
index 00000000000..fe1bfe64464
--- /dev/null
+++ b/mail/libspf-alt/buildlink2.mk
@@ -0,0 +1,12 @@
+BUILDLINK_PACKAGES+= libspf_alt
+BUILDLINK_PKGBASE.libspf_alt= libspf_alt
+BUILDLINK_DEPENDS.libspf_alt?= libspf_alt>=0.4.0
+BUILDLINK_PKGSRCDIR.libspf_alt?=../../mail/libspf_alt
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libspf_alt=libspf_alt
+BUILDLINK_PREFIX.libspf_alt_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libspf_alt= include/spf_alt/*
+BUILDLINK_FILES.libspf_alt+= lib/libspf_alt.*
+
+BUILDLINK_TARGETS+= libspf_alt-buildlink
+libspf_alt-buildlink: _BUILDLINK_USE