blob: 7598321afcda210173078af6bc35a35098b168c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
PORTNAME= scummvm-tools
PORTVERSION= 2.6.0
PORTREVISION= 1
CATEGORIES= games emulators
MASTER_SITES= https://downloads.scummvm.org/frs/${PORTNAME}/${PORTVERSION}/
MAINTAINER= kai@FreeBSD.org
COMMENT= Tools for use with the SCUMMVM game emulator
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lame:audio/lame \
flac:audio/flac \
oggenc:audio/vorbis-tools
RUN_DEPENDS:= ${BUILD_DEPENDS}
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libpng.so:graphics/png \
libmad.so:audio/libmad \
libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libfreetype.so:print/freetype2
USES= compiler:c++11-lang gmake iconv pkgconfig tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix="${PREFIX}" --enable-verbose-build
DESKTOP_ENTRIES="ScummVM Tools" \
"" \
"${DATADIR}/scummvmtools_128.png" \
"${PORTNAME}" \
"Utility;Compression;" \
false
PORTDOCS= COPYRIGHT NEWS README TODO
OPTIONS_DEFINE= WXGTK DOCS
OPTIONS_DEFAULT=WXGTK
OPTIONS_SUB= yes
WXGTK_USE= WX=2.8
WXGTK_VARS= WX_COMPS=wx WX_CONFIG_ARGS=absolute
WXGTK_CONFIGURE_ENABLE= wxwidgets
pre-patch:
@${REINPLACE_CMD} -e 's|^\(_wxconfig=\).*|\1${WX_CONFIG:C/.*\///}|' \
${WRKSRC}/configure
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|