diff --git a/games/barrage/Makefile b/games/barrage/Makefile index f95c8f1fc38..d508b7b83f7 100644 --- a/games/barrage/Makefile +++ b/games/barrage/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2007/06/26 22:56:49 simon Exp $ +# $OpenBSD: Makefile,v 1.2 2008/03/30 15:05:04 simon Exp $ COMMENT= kill and destroy as many targets as possible in 3 minutes DISTNAME= barrage-1.0.2 +PKGNAME= ${DISTNAME}p0 CATEGORIES= games HOMEPAGE= http://lgames.sourceforge.net/?project=Barrage @@ -14,14 +15,18 @@ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= X11 Xext c m pthread usbhid + +WANTLIB= SDL c m pthread MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgames/} -LIB_DEPENDS= SDL::devel/sdl \ - SDL_mixer::devel/sdl-mixer +LIB_DEPENDS= SDL_mixer::devel/sdl-mixer RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils CONFIGURE_STYLE=gnu +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/barrage + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/barrage + .include diff --git a/games/barrage/pkg/PLIST b/games/barrage/pkg/PLIST index 75affe6c287..98f7692cc72 100644 --- a/games/barrage/pkg/PLIST +++ b/games/barrage/pkg/PLIST @@ -1,6 +1,5 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2007/06/26 22:56:49 simon Exp $ +@comment $OpenBSD: PLIST,v 1.2 2008/03/30 15:05:04 simon Exp $ bin/barrage -share/applications/ share/applications/barrage.desktop share/barrage/ share/barrage/gfx/ @@ -30,5 +29,7 @@ share/barrage/sounds/gunfire.wav share/barrage/sounds/highlight.wav share/barrage/sounds/scream1.wav share/barrage/sounds/scream2.wav +share/doc/barrage/ +share/doc/barrage/README @exec %D/bin/update-desktop-database @unexec %D/bin/update-desktop-database