mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
e0de738591
All applications in the ports tree works correctly with unicode version of wxGTK Newer version of wxGTK are unicode only (3.0+) Note that now WX_UNICODE macro is noop
62 lines
1.3 KiB
Makefile
62 lines
1.3 KiB
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= scummvm-tools
|
|
DISTVERSION= 1.7.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games emulators
|
|
MASTER_SITES= SF/scummvm/${PORTNAME}/${DISTVERSION}
|
|
|
|
MAINTAINER= lme@FreeBSD.org
|
|
COMMENT= Tools for use with the SCUMMVM game emulator
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
BUILD_DEPENDS= lame:${PORTSDIR}/audio/lame \
|
|
flac:${PORTSDIR}/audio/flac \
|
|
oggenc:${PORTSDIR}/audio/vorbis-tools
|
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis
|
|
|
|
USES= gmake tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET=
|
|
|
|
STRIP_FILES= construct_mohawk create_sjisfnt decine degob dekyra \
|
|
deriven descumm desword2 extract_mohawk gob_loadcalc \
|
|
scummvm-tools-cli
|
|
|
|
OPTIONS_DEFINE= WXGTK DOCS
|
|
OPTIONS_DEFAULT= WXGTK
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PORT_OPTIONS:MWXGTK}
|
|
USE_WX= 2.8
|
|
WX_COMP= wx:lib:build
|
|
WX_UNICODE= yes
|
|
WX_CONFIG_ARGS= absolute
|
|
GUI_BIN= tools_gui
|
|
PLIST_SUB= WX=""
|
|
STRIP_FILES+= scummvm-tools
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-wxwidgets
|
|
PLIST_SUB= WX="@comment "
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's|wxgtk2-2.8-config|${WX_CONFIG:C/.*\///}|' \
|
|
${WRKSRC}/configure
|
|
|
|
pre-install:
|
|
@${STRIP_CMD} ${STRIP_FILES:S|^|${WRKSRC}/|}
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|