mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +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)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= valyriatear
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Open Source J-RPG based on the Hero of Allacrost engine
|
|
|
|
# Valyria Tear underwent a licensing audit.
|
|
# The main game is GPLv2 but artwork/music/fonts are a variety of licenses:
|
|
# GPLv2, GPLv3 (with font exception), OFL-1.1, CC0, CC-BY-3, and CC-BY-SA-3.
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis \
|
|
libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Bertram25
|
|
GH_PROJECT= ValyriaTear
|
|
GH_COMMIT= a324297
|
|
|
|
USES= alias cmake iconv lua:51 openal
|
|
CMAKE_ARGS= -DUSE_PCH_COMPILATION=OFF
|
|
USE_SDL= sdl image ttf
|
|
USE_GL= gl
|
|
INSTALLS_ICONS= yes
|
|
LDFLAGS= -L${LOCALBASE}/lib ${ICONV_LIB} -lintl
|
|
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CMAKE_OFF= -DDISABLE_TRANSLATIONS=ON
|
|
NLS_CMAKE_ON= -DDISABLE_TRANSLATIONS=OFF
|
|
NLS_USES= gettext
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
|
${WRKSRC}/CMake/Modules/*.cmake
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/MANUAL ${STAGEDIR}${DOCSDIR}/
|
|
|
|
.include <bsd.port.mk>
|