From 4a669f50391a110813e22a5d1fd32ab39ee69a78 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 22 Dec 2010 23:24:21 +0000 Subject: [PATCH] - make this fetchable again - set a license version - make Makefile somewhat readable - reformat DESCR - regen PLIST - regen WANTLIB --- lang/swi-prolog/Makefile | 27 +++++++++++++----------- lang/swi-prolog/pkg/DESCR | 22 ++++++++++---------- lang/swi-prolog/pkg/PLIST | 44 +++++++++++++++++++-------------------- 3 files changed, 48 insertions(+), 45 deletions(-) diff --git a/lang/swi-prolog/Makefile b/lang/swi-prolog/Makefile index 5f7fd019629..0474c1c7e2f 100644 --- a/lang/swi-prolog/Makefile +++ b/lang/swi-prolog/Makefile @@ -1,27 +1,28 @@ -# $OpenBSD: Makefile,v 1.26 2010/11/17 08:05:18 espie Exp $ +# $OpenBSD: Makefile,v 1.27 2010/12/22 23:24:21 jasper Exp $ BROKEN-hppa = build stalls during bootstrap in packages/chr -CATEGORIES = lang +COMMENT = Prolog for the real world + V = 5.6.59 XV = 6.6.58 -FULLARCH = ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV} -SUBST_VARS = V XV FULLARCH DISTNAME = pl-$V PKGNAME = swi-prolog-$V -REVISION = 5 -MASTER_SITES = http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/ -COMMENT = Prolog for the real world -HOMEPAGE = http://www.swi-prolog.org/ +REVISION = 6 +CATEGORIES = lang SHARED_LIBS = pl 2.0 -# LGPL +HOMEPAGE = http://www.swi-prolog.org/ + +# LGPLv2.1 PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM = Yes PERMIT_DISTFILES_FTP = Yes +MASTER_SITES = http://distfiles.nl/ + CONFIGURE_STYLE = autoconf AUTOCONF_VERSION = 2.60 AUTOCONF_DIR = ${WRKSRC}/src ${WRKSRC}/packages/semweb @@ -37,17 +38,19 @@ CONFIGURE_ARGS = --enable-mt \ ${CONFIGURE_SHARED} USE_GMAKE = Yes -USE_GROFF = Yes +USE_GROFF = Yes MAKE_FLAGS = SONAMEOPT= \ SHAREDV=libpl.so.${LIBpl_VERSION} WANTLIB += ICE SM X11 Xau Xdmcp Xext Xft Xinerama Xpm Xrender -WANTLIB += Xt c expat fontconfig freetype m ncurses pthread pthread-stubs +WANTLIB += Xt c expat fontconfig freetype m ncursesw pthread pthread-stubs WANTLIB += readline xcb z jpeg LIB_DEPENDS = graphics/jpeg -SUBST_VARS += BOOT + +FULLARCH = ${MACHINE_ARCH:S/amd64/x86_64/}-openbsd${OSREV} +SUBST_VARS = V XV FULLARCH BOOT post-install: cd ${PREFIX}/lib && ln -s swipl-$V/lib/${FULLARCH}/libpl.so.${LIBpl_VERSION} diff --git a/lang/swi-prolog/pkg/DESCR b/lang/swi-prolog/pkg/DESCR index 0442002aa2c..d934dbb810c 100644 --- a/lang/swi-prolog/pkg/DESCR +++ b/lang/swi-prolog/pkg/DESCR @@ -1,12 +1,12 @@ -SWI-Prolog started life in 1986 as a Prolog in the Edinburgh -tradition. Its development has been guided from the very beginning by -the desire to build large scale applications in Prolog. For this -reason it stresses connectivity to the C-language, few system limits, -comprehensive memory management, modules, multi-threading, -coroutining, constraints and a fast and interactive development -environment. Portable libraries for graphics, databases, networking, -web-services, XML, RDF and many more complete the system. +SWI-Prolog started life in 1986 as a Prolog in the Edinburgh tradition. +Its development has been guided from the very beginning by the desire to +build large scale applications in Prolog. For this reason it stresses +connectivity to the C-language, few system limits, comprehensive memory +management, modules, multi-threading, coroutining, constraints and a +fast and interactive development environment. Portable libraries for +graphics, databases, networking, web-services, XML, RDF and many more +complete the system. -SWI-Prolog is compliant to part one of ISO standard Prolog. In -addition it provides functionality compatible to Quintus, SICStus, -LPA, Ciao and many more. +SWI-Prolog is compliant to part one of ISO standard Prolog. In addition +it provides functionality compatible to Quintus, SICStus, LPA, Ciao and +many more. diff --git a/lang/swi-prolog/pkg/PLIST b/lang/swi-prolog/pkg/PLIST index 85372c4acb7..91fb1581651 100644 --- a/lang/swi-prolog/pkg/PLIST +++ b/lang/swi-prolog/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.5 2008/08/29 12:30:21 espie Exp $ +@comment $OpenBSD: PLIST,v 1.6 2010/12/22 23:24:21 jasper Exp $ %%SHARED%% bin/plld bin/plrc @@ -8,12 +8,12 @@ bin/xpce lib/swipl-${V}/ lib/swipl-${V}/Makefile lib/swipl-${V}/bin/ +lib/swipl-${V}/bin/swipl lib/swipl-${V}/bin/${FULLARCH}/ @bin lib/swipl-${V}/bin/${FULLARCH}/plld @bin lib/swipl-${V}/bin/${FULLARCH}/plrc @bin lib/swipl-${V}/bin/${FULLARCH}/swipl lib/swipl-${V}/bin/${FULLARCH}/xpce -lib/swipl-${V}/bin/swipl lib/swipl-${V}/boot/ lib/swipl-${V}/boot/apply.pl lib/swipl-${V}/boot/attvar.pl @@ -259,26 +259,26 @@ lib/swipl-${V}/doc/packages/examples/plunit/read.pl lib/swipl-${V}/doc/packages/examples/plunit/simple.pl lib/swipl-${V}/doc/packages/examples/ssl/ lib/swipl-${V}/doc/packages/examples/ssl/client.pl -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/ -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/Makefile -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/README -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/client/ -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/client/client-cert.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/client/client-key.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/ -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/cacert.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/careq.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/index.txt -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/index.txt.attr -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/newcerts/ -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/newcerts/A611836B46298A71.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/newcerts/A611836B46298A72.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/private/ -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/private/cakey.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/demoCA/serial -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/server/ -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/server/server-cert.pem -lib/swipl-${V}/doc/packages/examples/ssl${SYSCONFDIR}/server/server-key.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/ +lib/swipl-${V}/doc/packages/examples/ssl/etc/Makefile +lib/swipl-${V}/doc/packages/examples/ssl/etc/README +lib/swipl-${V}/doc/packages/examples/ssl/etc/client/ +lib/swipl-${V}/doc/packages/examples/ssl/etc/client/client-cert.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/client/client-key.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/ +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/cacert.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/careq.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/index.txt +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/index.txt.attr +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/newcerts/ +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/newcerts/A611836B46298A71.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/newcerts/A611836B46298A72.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/private/ +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/private/cakey.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/demoCA/serial +lib/swipl-${V}/doc/packages/examples/ssl/etc/server/ +lib/swipl-${V}/doc/packages/examples/ssl/etc/server/server-cert.pem +lib/swipl-${V}/doc/packages/examples/ssl/etc/server/server-key.pem lib/swipl-${V}/doc/packages/examples/ssl/https.pl lib/swipl-${V}/doc/packages/examples/ssl/server.pl lib/swipl-${V}/doc/packages/http.html