mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +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)
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= plee-the-bear
|
|
PORTVERSION= 0.6.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/Plee%20the%20Bear/${PORTVERSION:R}
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= 2D platform jump and run game
|
|
|
|
LICENSE= GPLv2 CCbySA3
|
|
LICENSE_COMB= dual
|
|
LICENSE_NAME_CCbySA3= Attribution-ShareAlike 3.0 Unported
|
|
LICENSE_FILE_CCbySA3= ${WRKSRC}/CCPL
|
|
LICENSE_PERMS_CCbySA3= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
|
|
LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
|
|
libclaw_application.so:${PORTSDIR}/devel/libclaw
|
|
|
|
USE_SDL= sdl mixer
|
|
USE_GL= gl glu
|
|
INSTALLS_ICONS= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
# gettext dep is unconditional; NLS option just disables translations install
|
|
USES= cmake gettext
|
|
CMAKE_ARGS= -Dlibclaw_DIR="${LOCALBASE}/share/libclaw/cmake" \
|
|
-DBEAR_NO_EDITOR=YES
|
|
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/CMakeLists.txt
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
@${REINPLACE_CMD} -e 's|locale||' \
|
|
${WRKSRC}/bear-factory/desktop/CMakeLists.txt \
|
|
${WRKSRC}/bear-engine/desktop/CMakeLists.txt \
|
|
${WRKSRC}/plee-the-bear/desktop/CMakeLists.txt
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|