blob: 4360ae172b71d57e2ad6190284c18744fabc7bc4 (
plain)
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
|
# Created by: GreenDog <fiziologus@gmail.com>
# $FreeBSD$
PORTNAME= fife
PORTVERSION= 0.3.5
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://sourceforge.net/projects/${PORTNAME}/files/active/src/:source \
http://sourceforge.net/projects/${PORTNAME}/files/active/demos/:demo \
http://sourceforge.net/projects/${PORTNAME}/files/active/tools/:tools
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
DISTFILES+= ${DISTNAME}.tar.gz:source \
${DISTNAME}_demos.tar.gz:demo \
${DISTNAME}_tools.tar.gz:tools
MAINTAINER= fiziologus@gmail.com
COMMENT= Flexible Isometric Free Engine
LICENSE= LGPL21
BUILD_DEPENDS= ${LOCALBASE}/bin/swig2.0:devel/swig20
LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \
libguichan.so:devel/guichan \
libboost_filesystem.so:devel/boost-libs \
libpng.so:graphics/png
USES= openal:al pkgconfig python:2 scons
USE_GL= gl
USE_SDL= sdl ttf image
USE_XORG= xcursor
ALL_TARGET= fife-python
INSTALL_TARGET= install-python
MAKE_ENV+= SWIG=${LOCALBASE}/bin/swig2.0
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's/X11R6/local/g; s/libpng/ligpng15/g' ${WRKSRC}/build/openbsd4-config.py && \
${MV} ${WRKSRC}/build/openbsd4-config.py ${WRKSRC}/build/${PYTHON_PLATFORM}-config.py
OPTIONS_DEFINE= DOCS
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${MV} ${WRKDIR}/tools ${STAGEDIR}${DATADIR}
${MV} ${WRKDIR}/demos ${STAGEDIR}${DATADIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in README AUTHORS CHANGES COPYING
${MV} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|