2011-04-25 11:01:28 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2011/04/25 15:01:28 jolan Exp $
|
2003-04-14 05:09:50 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= sdl shoot 'em up; stop evil army from getting your oil
|
2003-04-14 05:09:50 -04:00
|
|
|
DISTNAME= OilWar-1.2.1
|
2010-11-08 10:54:53 -05:00
|
|
|
PKGNAME= ${DISTNAME:L}
|
2011-04-25 11:01:28 -04:00
|
|
|
REVISION = 4
|
2003-04-14 05:09:50 -04:00
|
|
|
CATEGORIES= games x11
|
2011-04-25 11:01:28 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
2003-04-14 05:09:50 -04:00
|
|
|
|
2008-11-05 13:35:56 -05:00
|
|
|
# GPLv2
|
2003-04-14 05:09:50 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-11-05 13:35:56 -05:00
|
|
|
|
2010-11-08 10:54:53 -05:00
|
|
|
WANTLIB= SDL c m pthread stdc++ SDL_image SDL_mixer
|
2003-04-14 05:09:50 -04:00
|
|
|
|
2003-04-15 09:17:59 -04:00
|
|
|
NO_REGRESS= Yes
|
2003-04-14 05:09:50 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
LIB_DEPENDS= devel/sdl-image \
|
|
|
|
devel/sdl-mixer
|
2003-04-14 05:09:50 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
|
|
|
do-install:
|
2003-04-15 09:17:59 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/{doc/oilwar,oilwar}
|
2003-04-14 05:09:50 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/oilwar ${PREFIX}/bin
|
2003-04-15 09:17:59 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/oilwar
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.{png,wav} ${PREFIX}/share/oilwar
|
2004-09-23 03:25:56 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/oilwar/
|
|
|
|
${INSTALL_DATA} /dev/null ${PREFIX}/share/examples/oilwar/oilwar.scores
|
2003-04-14 05:09:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|