mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
- Support staging
- Use new LIB_DEPENDS syntax - Fix NLS support in games/plee-the-bear
This commit is contained in:
parent
ca506aa667
commit
522f62a1d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328248
@ -9,16 +9,14 @@ MASTER_SITES= SF
|
||||
MAINTAINER= amdmi3@FreeBSD.org
|
||||
COMMENT= C++ Library Absolutely Wonderful
|
||||
|
||||
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
|
||||
png15:${PORTSDIR}/graphics/png
|
||||
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
||||
libpng15.so:${PORTSDIR}/graphics/png
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/boost/bind.hpp:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
USES= cmake gettext
|
||||
CMAKE_ARGS= -DCLAW_CMAKE_MODULES_INSTALL_PATH="${DATADIR}/cmake"
|
||||
USE_LDCONFIG= yes
|
||||
#USE_GCC= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/subdirs/ s|doc||' ${WRKSRC}/CMakeLists.txt
|
||||
@${REINPLACE_CMD} -e '/install.*COPYING/ d' ${WRKSRC}/CMakeLists.txt
|
||||
|
@ -12,13 +12,13 @@ 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
|
||||
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= boost_filesystem:${PORTSDIR}/devel/boost-libs \
|
||||
claw_application:${PORTSDIR}/devel/libclaw
|
||||
LIB_DEPENDS= libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
|
||||
libclaw_application.so:${PORTSDIR}/devel/libclaw
|
||||
|
||||
USE_SDL= sdl mixer
|
||||
USE_GL= gl glu
|
||||
@ -26,26 +26,22 @@ WANT_GNOME= yes
|
||||
INSTALLS_ICONS= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
USES= cmake
|
||||
# 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
|
||||
|
||||
MAN6= plee-the-bear.6 running-bear.6
|
||||
OPTIONS_DEFINE= NLS
|
||||
OPTIONS_DEFAULT=NLS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
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
|
||||
|
@ -13,6 +13,8 @@ lib/libbear_time.so
|
||||
lib/libbear_universe.so
|
||||
lib/libbear_visual.so
|
||||
lib/libplee_the_bear.so
|
||||
man/man6/plee-the-bear.6.gz
|
||||
man/man6/running-bear.6.gz
|
||||
share/applications/plee-the-bear.desktop
|
||||
share/bear-factory/plee-the-bear/item-description/action_file_recorder.xml
|
||||
share/bear-factory/plee-the-bear/item-description/add_ingame_layers.xml
|
||||
|
Loading…
Reference in New Issue
Block a user