Annotation of ports/games/sumwars/Makefile, Revision 1.2
1.1 yason 1: # $OpenBSD$
2:
3: COMMENT = open source role-playing game
4:
5: DISTNAME = sumwars-0.5.5-src
6: PKGNAME = ${DISTNAME:S/-src//}
7:
8: CATEGORIES = games x11
9:
10: HOMEPAGE = http://www.sumwars.org/
11:
12: #MAINTAINER = ???
13:
14: # GPLv3
15: PERMIT_PACKAGE_CDROM = Yes
16: PERMIT_PACKAGE_FTP = Yes
17: PERMIT_DISTFILES_CDROM =Yes
18: PERMIT_DISTFILES_FTP = Yes
19:
1.2 ! yason 20: WANTLIB += CEGUIBase CEGUIOgreRenderer OIS OgreMain OgreTerrain
! 21: WANTLIB += X11 alut c enet lua m ogg openal physfs pthread stdc++
! 22: WANTLIB += vorbis vorbisfile
1.1 yason 23:
24: MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=sumwars/}
25: EXTRACT_SUFX = .tgz
26:
27: MODULES = devel/cmake \
28: devel/gettext
29: #BUILD_DEPENDS = ???
1.2 ! yason 30: RUN_DEPENDS = devel/desktop-file-utils
1.1 yason 31: LIB_DEPENDS = audio/freealut \
32: audio/libvorbis \
33: audio/openal \
34: devel/physfs \
35: devel/ois \
1.2 ! yason 36: x11/cegui \
! 37: x11/ogre \
1.1 yason 38: lang/lua \
39: net/enet
40:
41: CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release \
42: -DBUILD_TOOLS=OFF \
43: -DNO_ENET=ON
44:
45: NO_REGRESS = Yes
1.2 ! yason 46:
! 47: pre-configure:
! 48: @perl -pi -e 's|/usr/lib/OGRE|${LOCALBASE}/lib/OGRE|g' ${WRKSRC}/plugins.cfg \
! 49: ${WRKSRC}/src/gui/application.cpp
! 50: perl -pi -e 's|/usr/games|${LOCALBASE}/games|g' ${WRKSRC}/packaging/sumwars.desktop
! 51: perl -pi -e 's|/usr/share|${LOCALBASE}/share|g' ${WRKSRC}/packaging/sumwars.desktop
1.1 yason 52:
53: .include <bsd.port.mk>
CVSweb