1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 1.4.4

- Stage support
- Add LICENSE
- Pet portlint

PR:		191072
Submitted by:	Keith Gaughan<k@stereochro.me>
Approved by:	maintainer(timeout, >28 days)
This commit is contained in:
Wen Heping 2014-07-14 11:24:32 +00:00
parent 506b6fddaa
commit 37c8ddd437
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361775
4 changed files with 33 additions and 26 deletions

View File

@ -2,14 +2,15 @@
# $FreeBSD$
PORTNAME= gprolog
PORTVERSION= 1.4.1
PORTVERSION= 1.4.4
CATEGORIES= lang
# MASTER_SITES= http://www.gprolog.org/
MASTER_SITES= http://gprolog.univ-paris1.fr/old_versions/
MASTER_SITES= http://www.gprolog.org/
MAINTAINER= nsmoot@make.sh
COMMENT= Free Prolog compiler
LICENSE= GPLv2
ONLY_FOR_ARCHS= i386 amd64
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
@ -19,6 +20,7 @@ USE_GCC= any
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}"
CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
MAKE_JOBS_UNSAFE= yes
PLIST_SUB+= GPROLOG_VER=${PORTVERSION}
@ -26,7 +28,6 @@ OPTIONS_DEFINE= FD
OPTIONS_DEFAULT=FD
FD_DESC= Enable finite domain constraint solver
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@ -51,4 +52,9 @@ PKGNAMESUFFIX= -nofd
PLIST_SUB+= FD=""
.endif
post-configure:
${REINPLACE_CMD} -E 's|^(INSTALL_PROGRAM *= *install +-s +-m) 555|\1 755|g' ${WRKSRC}/Makefile
${REINPLACE_CMD} -E 's|^(INSTALL_DATA *= *install +-m) 444|\1 644|g' ${WRKSRC}/Makefile
${REINPLACE_CMD} 's|$$(LN_S) $$(INSTALL_DIR)/bin|$$(LN_S) ../${PORTNAME}-${PORTVERSION}/bin|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gprolog-1.4.1.tar.gz) = e2819ed9c426138d3191e4d97ae5121cf97e132eecf102400f87f1e372a05b72
SIZE (gprolog-1.4.1.tar.gz) = 3273781
SHA256 (gprolog-1.4.4.tar.gz) = 18c0e9644b33afd4dd3cdf29f94c099ad820d65e0c99da5495b1ae43b4f2b18e
SIZE (gprolog-1.4.4.tar.gz) = 3538152

View File

@ -17,4 +17,4 @@ GNU Prolog also includes an efficient constraint solver over Finite Domains
(FD). This opens contraint logic pogramming to the user combining the power
of constraint programming to the declarativity of logic programming.
WWW: http://gnu-prolog.inria.fr/
WWW: http://www.gprolog.org/

View File

@ -5,30 +5,31 @@ bin/hexgplc
bin/ma2asm
bin/pl2wam
bin/wam2ma
gprolog-%%GPROLOG_VER%%/bin/gplc
gprolog-%%GPROLOG_VER%%/bin/hexgplc
gprolog-%%GPROLOG_VER%%/bin/gprolog
gprolog-%%GPROLOG_VER%%/bin/pl2wam
gprolog-%%GPROLOG_VER%%/bin/wam2ma
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/top_level.o
gprolog-%%GPROLOG_VER%%/lib/all_pl_bips.o
gprolog-%%GPROLOG_VER%%/lib/debugger.o
%%FD%%gprolog-%%GPROLOG_VER%%/lib/all_fd_bips.o
gprolog-%%GPROLOG_VER%%/lib/libengine_pl.a
gprolog-%%GPROLOG_VER%%/lib/libbips_pl.a
%%FD%%gprolog-%%GPROLOG_VER%%/lib/libengine_fd.a
%%FD%%gprolog-%%GPROLOG_VER%%/lib/libbips_fd.a
gprolog-%%GPROLOG_VER%%/lib/liblinedit.a
%%FD%%gprolog-%%GPROLOG_VER%%/lib/libengine_fd.a
gprolog-%%GPROLOG_VER%%/COPYING
gprolog-%%GPROLOG_VER%%/VERSION
gprolog-%%GPROLOG_VER%%/ChangeLog
gprolog-%%GPROLOG_VER%%/NEWS
gprolog-%%GPROLOG_VER%%/README
gprolog-%%GPROLOG_VER%%/ChangeLog
@dirrm gprolog-%%GPROLOG_VER%%/lib
@dirrm gprolog-%%GPROLOG_VER%%/include
gprolog-%%GPROLOG_VER%%/VERSION
gprolog-%%GPROLOG_VER%%/bin/gplc
gprolog-%%GPROLOG_VER%%/bin/gprolog
gprolog-%%GPROLOG_VER%%/bin/hexgplc
gprolog-%%GPROLOG_VER%%/bin/ma2asm
gprolog-%%GPROLOG_VER%%/bin/pl2wam
gprolog-%%GPROLOG_VER%%/bin/wam2ma
gprolog-%%GPROLOG_VER%%/gprolog.ico
gprolog-%%GPROLOG_VER%%/include/fd_to_c.h
gprolog-%%GPROLOG_VER%%/include/gprolog.h
gprolog-%%GPROLOG_VER%%/lib/all_pl_bips.o
gprolog-%%GPROLOG_VER%%/lib/debugger.o
gprolog-%%GPROLOG_VER%%/lib/libbips_pl.a
gprolog-%%GPROLOG_VER%%/lib/libengine_pl.a
gprolog-%%GPROLOG_VER%%/lib/liblinedit.a
gprolog-%%GPROLOG_VER%%/lib/top_level.o
@dirrm gprolog-%%GPROLOG_VER%%/bin
@dirrm gprolog-%%GPROLOG_VER%%/include
@dirrm gprolog-%%GPROLOG_VER%%/lib
@dirrm gprolog-%%GPROLOG_VER%%