summaryrefslogtreecommitdiff
path: root/lang/swi-prolog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/swi-prolog/Makefile')
-rw-r--r--lang/swi-prolog/Makefile41
1 files changed, 8 insertions, 33 deletions
diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile
index a566cfd69f0..16c302ac991 100644
--- a/lang/swi-prolog/Makefile
+++ b/lang/swi-prolog/Makefile
@@ -1,39 +1,14 @@
-# $NetBSD: Makefile,v 1.28 2004/05/09 02:26:14 snj Exp $
+# $NetBSD: Makefile,v 1.29 2004/05/20 11:18:37 hubertf Exp $
-DISTNAME= pl-lite-5.0.10
-PKGNAME= swi-prolog-5.0.10
-PKGREVISION= 2
-CATEGORIES= lang
-MASTER_SITES= ftp://ftp.swi.psy.uva.nl/SWI-Prolog/
-
-MAINTAINER= tech-pkg@NetBSD.org
-HOMEPAGE= http://www.swi-prolog.org/
-COMMENT= ISO/Edinburgh-style Prolog compiler
-
-DIST_SUBDIR= swi-prolog
-WRKSRC= ${WRKDIR}/${DISTNAME:S,-lite,,}
+.include "../swi-prolog-lite/Makefile"
-GNU_CONFIGURE= # defined
-USE_BUILDLINK3= yes
-USE_GNU_READLINE= # uses rl_event_hook() interface
-
-SWIPL= swi-prolog
-CONFIGURE_ENV+= PL="${SWIPL}"
-CPPFLAGS+= -D__unix__=1
-
-PLIST_SUBST+= SWIPL=${SWIPL}
-PLIST_SUBST+= SWILIBDIR=${DISTNAME:S,pl-lite,'${SWIPL}',}
-PLIST_SUBST+= APPEND_ELF=${APPEND_ELF}
+PKGNAME= swi-prolog-${SWIPLVERS}
+CATEGORIES= lang
-.include "../../mk/bsd.prefs.mk"
+MAINTAINER= hubertf@NetBSD.org
+COMMENT= ISO/Edinburgh-style Prolog compiler suite
-.if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64 || \
- ${MACHINE_ARCH} == x86_64
-PLIST_SUBST+= BITS=64
-.else
-PLIST_SUBST+= BITS=32
-.endif
+DEPENDS+= swi-prolog-lite-${SWIPLVERS}:../swi-prolog-lite
+DEPENDS+= swi-prolog-packages-${SWIPLVERS}:../swi-prolog-packages
-.include "../../devel/ncurses/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"