summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/aiksaurus/Makefile6
-rw-r--r--textproc/aiksaurus/buildlink2.mk22
-rw-r--r--textproc/aiksaurus/buildlink3.mk18
3 files changed, 22 insertions, 24 deletions
diff --git a/textproc/aiksaurus/Makefile b/textproc/aiksaurus/Makefile
index 57abf64aba8..f5695a04553 100644
--- a/textproc/aiksaurus/Makefile
+++ b/textproc/aiksaurus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/02/14 18:26:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.7 2004/03/07 02:30:26 minskim Exp $
#
DISTNAME= aiksaurus-1.0.1
@@ -9,7 +9,9 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://aiksaurus.sourceforge.net/
COMMENT= English-language thesaurus
-USE_BUILDLINK2= YES
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --without-gtk
diff --git a/textproc/aiksaurus/buildlink2.mk b/textproc/aiksaurus/buildlink2.mk
deleted file mode 100644
index 19a7e189fd6..00000000000
--- a/textproc/aiksaurus/buildlink2.mk
+++ /dev/null
@@ -1,22 +0,0 @@
-# $NetBSD: buildlink2.mk,v 1.2 2003/09/26 20:04:15 recht Exp $
-
-.if !defined(AIKSAURUS_BUILDLINK2_MK)
-AIKSAURUS_BUILDLINK2_MK= # defined
-
-BUILDLINK_PACKAGES+= aiksaurus
-BUILDLINK_DEPENDS.aiksaurus?= aiksaurus>=1.0.1
-BUILDLINK_PKGSRCDIR.aiksaurus?= ../../textproc/aiksaurus
-
-EVAL_PREFIX+= BUILDLINK_PREFIX.aiksaurus=aiksaurus
-BUILDLINK_PREFIX.aiksaurus_DEFAULT= ${LOCALBASE}
-BUILDLINK_FILES.aiksaurus+= include/Aiksaurus/Aiksaurus.h
-BUILDLINK_FILES.aiksaurus+= include/Aiksaurus/AiksaurusC.h
-BUILDLINK_FILES.aiksaurus+= lib/libAiksaurus-1.0.*
-BUILDLINK_FILES.aiksaurus+= lib/libAiksaurus.*
-BUILDLINK_FILES.aiksaurus+= lib/pkgconfig/aiksaurus-1.0.pc
-
-BUILDLINK_TARGETS+= aiksaurus-buildlink
-
-aiksaurus-buildlink: _BUILDLINK_USE
-
-.endif # AIKSAURUS_BUILDLINK2_MK
diff --git a/textproc/aiksaurus/buildlink3.mk b/textproc/aiksaurus/buildlink3.mk
new file mode 100644
index 00000000000..1fd45eb59cf
--- /dev/null
+++ b/textproc/aiksaurus/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 02:30:26 minskim Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+AIKSAURUS_BUILDLINK3_MK:= ${AIKSAURUS_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= aiksaurus
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Naiksaurus}
+BUILDLINK_PACKAGES+= aiksaurus
+
+.if !empty(AIKSAURUS_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.aiksaurus+= aiksaurus>=1.0.1
+BUILDLINK_PKGSRCDIR.aiksaurus?= ../../textproc/aiksaurus
+.endif # AIKSAURUS_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}