mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= f1spirit-remake
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 13
|
|
CATEGORIES= games
|
|
# Original braingames site is really slow
|
|
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ \
|
|
http://www.braingames.getput.com/f1spirit/downloads/
|
|
DISTNAME= f1spirit-linux
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Remake of classic F1 Spirit racing game
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
USES= dos2unix gmake zip
|
|
USE_SDL= sdl net image mixer sound
|
|
USE_GL= gl glu
|
|
DOS2UNIX_GLOB= *.h *.cpp
|
|
|
|
WRKSRC= "${WRKDIR}/F-1 Spirit"
|
|
BUILD_WRKSRC= ${WRKSRC}/sources
|
|
|
|
PLIST_FILES= bin/f1s
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@cd ${WRKSRC}/designs && ${RMDIR} endurance f3 f3000 # empty dirs
|
|
|
|
post-patch:
|
|
@${FIND} ${BUILD_WRKSRC} -name '*.cpp' -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
|
|
-e 's|"demos"|"${DATADIR}/demos"|g; s|designs/|${DATADIR}/&|g; \
|
|
s|f1spirit2.cfg|${DATADIR}/&|g; s|graphics/|${DATADIR}/&|g; \
|
|
s|sound/|${DATADIR}/&|g; s|tracks/|${DATADIR}/&|g'
|
|
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' ${WRKSRC}/sources/F1Shttp.cpp
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/f1s ${STAGEDIR}${PREFIX}/bin
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} \
|
|
'demos designs f1spirit2.cfg graphics sound tracks' \
|
|
${STAGEDIR}${DATADIR}/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|