version 1.10, 2010/12/04 18:14:35 |
version 1.15, 2016/04/14 13:24:43 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
|
|
COMMENT = M.A.X. clone |
COMMENT = Mechanized Assault & eXploration Reloaded |
|
|
DISTNAME = maxr-0.2.6 |
DISTNAME = maxr-0.2.8 |
|
|
CATEGORIES = games x11 |
CATEGORIES = games x11 |
|
|
HOMEPAGE = http://www.maxthegame.de |
HOMEPAGE = http://www.maxr.org/ |
|
|
MAINTAINER = Kirill Bychkov <yason@linklevel.net> |
MAINTAINER = Kirill Bychkov <kirby@openbsd.org> |
|
|
# GPL |
# GPLv2, GNU FDL |
PERMIT_PACKAGE_CDROM = Yes |
PERMIT_PACKAGE_CDROM = Yes |
PERMIT_PACKAGE_FTP = Yes |
|
PERMIT_DISTFILES_CDROM =Yes |
|
PERMIT_DISTFILES_FTP = Yes |
|
|
|
WANTLIB = FLAC SDL SDL_mixer SDL_net c iconv m mikmod ogg pthread \ |
WANTLIB += FLAC SDL SDL_mixer SDL_net c m mikmod ogg pthread |
smpeg sndio stdc++ usbhid vorbis vorbisfile |
WANTLIB += smpeg sndio stdc++ usbhid vorbis vorbisfile |
|
|
MASTER_SITES = http://www.maxr.org/downloads/ |
MASTER_SITES = http://www.maxr.org/downloads/ |
|
|
|
MODULES = converters/libiconv |
LIB_DEPENDS = devel/sdl-mixer \ |
LIB_DEPENDS = devel/sdl-mixer \ |
devel/sdl-net \ |
devel/sdl-net |
audio/libmikmod \ |
|
audio/libogg \ |
|
devel/smpeg \ |
|
audio/libvorbis |
|
|
|
CONFIGURE_STYLE = gnu |
CONFIGURE_STYLE = gnu |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \ |
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" |
LIBS="-pthread" |
|
|
|
post-patch: |
pre-configure: |
@perl -pi -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in |
@perl -pi -e 's|cp -a|cp -RpP|' ${WRKSRC}/Makefile.in |
|
|
.include <bsd.port.mk> |
.include <bsd.port.mk> |