2019-07-12 20:45:45 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2019/07/12 20:46:21 sthen Exp $
|
2003-04-14 09:09:50 +00:00
|
|
|
|
2007-09-15 18:01:00 +00:00
|
|
|
COMMENT= sdl shoot 'em up; stop evil army from getting your oil
|
2003-04-14 09:09:50 +00:00
|
|
|
DISTNAME= OilWar-1.2.1
|
2010-11-08 15:54:53 +00:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
2018-10-24 14:27:57 +00:00
|
|
|
REVISION= 7
|
2003-04-14 09:09:50 +00:00
|
|
|
CATEGORIES= games x11
|
|
|
|
|
2008-11-05 18:35:56 +00:00
|
|
|
# GPLv2
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2008-11-05 18:35:56 +00:00
|
|
|
|
2018-04-12 08:12:05 +00:00
|
|
|
WANTLIB += ${COMPILER_LIBCXX} SDL SDL_image SDL_mixer c m
|
2003-04-14 09:09:50 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
|
2013-03-11 11:02:49 +00:00
|
|
|
NO_TEST= Yes
|
2003-04-14 09:09:50 +00:00
|
|
|
|
2010-11-16 11:23:25 +00:00
|
|
|
LIB_DEPENDS= devel/sdl-image \
|
|
|
|
devel/sdl-mixer
|
2003-04-14 09:09:50 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
do-install:
|
2003-04-15 13:17:59 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc/oilwar,oilwar}
|
2003-04-14 09:09:50 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/oilwar ${PREFIX}/bin
|
2003-04-15 13:17:59 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/oilwar
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.{png,wav} ${PREFIX}/share/oilwar
|
2004-09-23 07:25:56 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oilwar/
|
|
|
|
${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/oilwar/oilwar.scores
|
2003-04-14 09:09:50 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|