1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Update to version 4.4 [1]

- Remove leading article from COMMENT
- Fix build on 10.x by respecting CC and CXX
- Support staging

PR:		ports/187357 [1]
Submitted by:	maintainer
This commit is contained in:
Pawel Pekala 2014-03-12 15:47:11 +00:00
parent 237e610a59
commit 2b6d2524bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347983
5 changed files with 50 additions and 13 deletions

View File

@ -2,24 +2,24 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= scid PORTNAME= scid
PORTVERSION= 4.3 PORTVERSION= 4.4
CATEGORIES= games databases CATEGORIES= games databases
MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.3/ MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.4/
MAINTAINER= bsd@volki.at MAINTAINER= bsd@volki.at
COMMENT= A free chess database application COMMENT= Free chess database application
HAS_CONFIGURE= yes HAS_CONFIGURE= yes
USES= gmake tk:84,85 USES= gmake tk:84,85,86
USE_BZIP2= yes USE_BZIP2= yes
USE_PYTHON= yes USE_PYTHON= yes
USE_GMAKE= yes
TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER} TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}
CONFIGURE_ARGS= \ CONFIGURE_ARGS= \
BINDIR="${PREFIX}/bin" \ BINDIR="${PREFIX}/bin" \
SHAREDIR="${PREFIX}/share/scid" \ SHAREDIR="${PREFIX}/share/scid" \
THREADS="-pthread" \
TCL_VERSION="${TCL_VER}" \ TCL_VERSION="${TCL_VER}" \
TCL_INCLUDE="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \ TCL_INCLUDE="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \
TCL_LIBRARY="${TCL_LIBRARY}" \ TCL_LIBRARY="${TCL_LIBRARY}" \
@ -29,7 +29,11 @@ CONFIGURE_ARGS= \
ALL_TARGET= all strip ALL_TARGET= all strip
WRKSRC= ${WRKDIR}/${PORTNAME} post-configure:
@${REINPLACE_CMD} -e 's|g++|${CXX}|g; s|gcc|${CC}|g' \
-e '/engines/ s|SHAREDIR|DESTDIR\)$$\(&|g' \
${WRKSRC}/Makefile \
${WRKSRC}/engines/phalanx-scid/makefile \
${WRKSRC}/engines/togaII1.2.1a/src/Makefile
NO_STAGE= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (scid-4.3.tar.bz2) = 3cc3405ef7d49adf633b26ec633173bf4e42aec0aeb93d857d84a34ec0c5657d SHA256 (scid-4.4.tar.bz2) = ba3b01440ed7f16396360aab10a0bfe8354721c05a0a4f9e0031a800b8d781f2
SIZE (scid-4.3.tar.bz2) = 12029115 SIZE (scid-4.4.tar.bz2) = 12403187

View File

@ -1,11 +1,11 @@
--- Makefile.conf.orig 2011-02-15 19:01:57.000000000 +0100 --- Makefile.conf.orig 2013-03-28 18:51:58.000000000 +0100
+++ Makefile.conf 2012-02-04 12:19:08.000000000 +0100 +++ Makefile.conf 2014-03-07 19:34:39.000000000 +0100
@@ -300,7 +300,7 @@ @@ -302,7 +302,7 @@
### To make the executable files smaller: type "make strip". ### To make the executable files smaller: type "make strip".
# #
-strip: -strip:
+strip: $(EXECS) +strip: $(EXECS)
strip $(EXECS) strip $(EXECS)
### To compress scid and executables with gzexe: type "make gzexe". ### To compress scid and executables with gzexe: type "make gzexe".

View File

@ -0,0 +1,32 @@
--- configure.orig 2013-03-28 18:51:54.000000000 +0100
+++ configure 2014-03-07 20:03:28.000000000 +0100
@@ -13,21 +13,17 @@
# tclsh program with a version number in the file name is found, the
# default program to execute is just tclsh.
# The backslashes at the end of these lines are needed: \
-# tclsh=tclsh8.5;
-
-# This shell script code did not work for me in Linux so it is
-# commented out for now; the configure script will just run in
-# tclsh even if there is a more recent version.
-## for tclver in 80 8.0 81 8.1 82 8.2 83 8.3 84 8.4 85 8.5; do \
-## IFS=:; \
-## for dir in $PATH; do \
-## if [ -x $dir/tclsh$tclver ]; then tclsh=$dir/tclsh$tclver; fi; \
-## done; \
-## done
+tclsh=tclsh8.6; \
+for tclver in 80 8.0 81 8.1 82 8.2 83 8.3 84 8.4 85 8.5 86 8.6; do \
+ IFS=:; \
+ for dir in $PATH; do \
+ if [ -x $dir/tclsh$tclver ]; then tclsh=$dir/tclsh$tclver; fi; \
+ done; \
+done
# Now execute this script using the best tclsh version found:
# The backslash at the end of this line is needed: \
-exec tclsh "$0" ${1+"$@"}
+exec $tclsh "$0" ${1+"$@"}
# Default values for Makefile settings:
#

View File

@ -16,6 +16,7 @@ bin/spf2spi
bin/spliteco bin/spliteco
bin/tcscid bin/tcscid
bin/tkscid bin/tkscid
%%DATADIR%%/scid.gif
%%DATADIR%%/books/Elo2400.bin %%DATADIR%%/books/Elo2400.bin
%%DATADIR%%/books/Performance.bin %%DATADIR%%/books/Performance.bin
%%DATADIR%%/books/gm2600.bin %%DATADIR%%/books/gm2600.bin