aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2008-03-19 15:43:35 +0800
committervs <vs@FreeBSD.org>2008-03-19 15:43:35 +0800
commit13fb3953d752b5ba141aed8801ef6d8a7112e778 (patch)
tree857cc5fae0dafd18f892c1f17fa471ed1f0a3c67
parenta8fdcbcaed33efa4e021e5cdc8ca0c18103805c9 (diff)
downloadfreebsd-ports-gnome-13fb3953d752b5ba141aed8801ef6d8a7112e778.tar.gz
freebsd-ports-gnome-13fb3953d752b5ba141aed8801ef6d8a7112e778.tar.zst
freebsd-ports-gnome-13fb3953d752b5ba141aed8801ef6d8a7112e778.zip
Update to 1.3.0. It might also build on amd64 now, but I haven't been able
to run it on a tinderbox, so it stays i386 for now.
-rw-r--r--lang/gprolog/Makefile33
-rw-r--r--lang/gprolog/distinfo12
-rw-r--r--lang/gprolog/files/patch-src-Makefile.in11
-rw-r--r--lang/gprolog/pkg-plist2
4 files changed, 7 insertions, 51 deletions
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index a297c0dd9606..fd4de4a36756 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -6,31 +6,22 @@
#
PORTNAME= gprolog
-PORTVERSION= 1.2.18
-PORTREVISION= 3
+PORTVERSION= 1.3.0
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_DEBIAN} ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/:doc
-MASTER_SITE_SUBDIR= pool/main/g/${PORTNAME}
-DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
-.if !defined(NOPORTDOCS)
-DISTFILES+= manual.pdf.gz:doc manual-html.tar.gz:doc
-.endif
-DIST_SUBDIR= gprolog
-EXTRACT_ONLY= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX}
+MASTER_SITES= http://www.gprolog.org/
MAINTAINER= vs@FreeBSD.org
COMMENT= A free Prolog compiler
ONLY_FOR_ARCHS= i386
-WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}.orig/src/src
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
-USE_GCC= 2.95
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:261
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}" \
- --with-doc-dir=none \
+ --with-doc-dir="${DOCSDIR}" \
--with-examples-dir="${EXAMPLESDIR}"
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
@@ -47,20 +38,4 @@ PKGNAMESUFFIX= -nofd
PLIST_SUB+= FD=""
.endif
-post-extract:
- @${CP} ${PORTSDIR}/Templates/config.sub ${WRKSRC}
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/EnginePl/machine.c
-
-post-install:
-. if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @cd ${DOCSDIR} && ${GZIP_CMD} -cd ${_DISTDIR}/manual.pdf.gz >manual.pdf
- @cd ${DOCSDIR} && ${TAR} zxf ${_DISTDIR}/manual-html.tar.gz
- @${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
- @${FIND} ${DOCSDIR}/ -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \;
-. endif
-
.include <bsd.port.post.mk>
diff --git a/lang/gprolog/distinfo b/lang/gprolog/distinfo
index 14fee21c47ce..8e583d19bc7f 100644
--- a/lang/gprolog/distinfo
+++ b/lang/gprolog/distinfo
@@ -1,9 +1,3 @@
-MD5 (gprolog/gprolog_1.2.18.orig.tar.gz) = 66fed53a60729bd9a27749255bfa97f7
-SHA256 (gprolog/gprolog_1.2.18.orig.tar.gz) = 4566630a0921084ba5f9e6618c77672d9da708490bc6921506fb6f0edcd922f6
-SIZE (gprolog/gprolog_1.2.18.orig.tar.gz) = 895657
-MD5 (gprolog/manual.pdf.gz) = 58be1c21e4cf292e4de1ce321c9af6fa
-SHA256 (gprolog/manual.pdf.gz) = 73325cd75b90ce9f63418c889cc6f25de7af3f2c1eee066fc6e0f65d070467d5
-SIZE (gprolog/manual.pdf.gz) = 699732
-MD5 (gprolog/manual-html.tar.gz) = 209bb02c57361569483bab1dc02714ec
-SHA256 (gprolog/manual-html.tar.gz) = 55ecf8ed5fe0b41df9c567bab76d37f572e949bc96aeba6c0ecd584f524cc7c2
-SIZE (gprolog/manual-html.tar.gz) = 158556
+MD5 (gprolog-1.3.0.tar.gz) = 950736db26248f6ed942191ec6c441e9
+SHA256 (gprolog-1.3.0.tar.gz) = 1aca625e06d4cf05f9d6049e33f7a87afff98995670faf8bc3dfd1768244d3a7
+SIZE (gprolog-1.3.0.tar.gz) = 3016665
diff --git a/lang/gprolog/files/patch-src-Makefile.in b/lang/gprolog/files/patch-src-Makefile.in
deleted file mode 100644
index 7f99f62537ef..000000000000
--- a/lang/gprolog/files/patch-src-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Thu Oct 24 12:33:27 2002
-+++ Makefile.in Thu Oct 24 12:34:09 2002
-@@ -57,7 +57,7 @@
- install-system:
- ./mkinstalldirs $(INSTALL_DIR) $(INSTALL_DIR)/bin \
- $(INSTALL_DIR)/include $(INSTALL_DIR)/lib
-- for i in `echo "$(TXT_FILES)"`; do $(INSTALL_PROGRAM) ../$$i $(INSTALL_DIR);done
-+ for i in `echo "$(TXT_FILES)"`; do $(INSTALL_DATA) ../$$i $(INSTALL_DIR);done
- for i in $(BIN_FILES); do $(INSTALL_PROGRAM) */$$i $(INSTALL_DIR)/bin;done
- for i in $(OBJ_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib;done
- for i in $(LIB_FILES); do $(INSTALL_DATA) */$$i $(INSTALL_DIR)/lib;done
diff --git a/lang/gprolog/pkg-plist b/lang/gprolog/pkg-plist
index 2a8067a8b8ad..1afbc6238ecc 100644
--- a/lang/gprolog/pkg-plist
+++ b/lang/gprolog/pkg-plist
@@ -14,8 +14,6 @@ gprolog-%%GPROLOG_VER%%/bin/ma2asm
%%FD%%gprolog-%%GPROLOG_VER%%/bin/fd2c
gprolog-%%GPROLOG_VER%%/include/gprolog.h
gprolog-%%GPROLOG_VER%%/include/fd_to_c.h
-gprolog-%%GPROLOG_VER%%/lib/obj_begin.o
-gprolog-%%GPROLOG_VER%%/lib/obj_end.o
gprolog-%%GPROLOG_VER%%/lib/top_level.o
gprolog-%%GPROLOG_VER%%/lib/all_pl_bips.o
gprolog-%%GPROLOG_VER%%/lib/debugger.o