- Consistantly use lowercase in paths

- add '/' to make MASTER_SITES easier to read
- simplify LIB_DEPENDS/WANTLIB

pointed out and ok ajacoutot@
ok okan@ merdely@
This commit is contained in:
phessler 2008-06-04 16:23:33 +00:00
parent ec13b031c8
commit f929ca0303
3 changed files with 33 additions and 31 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
# $OpenBSD: Makefile,v 1.2 2008/06/04 16:23:33 phessler Exp $
COMMENT = asteroid-like game
DISTNAME = Maelstrom-3.0.6
PKGNAME = ${DISTNAME:L}
PKGNAME = ${DISTNAME:L}p0
CATEGORIES = games x11
HOMEPAGE = http://www.devolution.com/~slouken/Maelstrom/
MASTER_SITES = ${HOMEPAGE}src/
MASTER_SITES = ${HOMEPAGE}/src/
MAINTAINER = Peter Hessler <phessler@openbsd.org>
@ -19,8 +19,10 @@ PERMIT_DISTFILES_FTP = Yes
USE_X11 = Yes
CONFIGURE_STYLE = gnu
WANTLIB = c m pthread stdc++
LIB_DEPENDS = SDL::devel/sdl \
SDL_net::devel/sdl-net
WANTLIB = SDL c m pthread stdc++
LIB_DEPENDS = SDL_net::devel/sdl-net
pre-configure:
@perl -pi -e 's, Maelstrom, maelstrom,g' ${WRKSRC}/README.network
.include <bsd.port.mk>

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
$OpenBSD: patch-Makefile_in,v 1.2 2008/06/04 16:23:33 phessler Exp $
--- Makefile.in.orig Sat Oct 19 21:19:42 2002
+++ Makefile.in Tue Jun 3 22:56:03 2008
+++ Makefile.in Wed Jun 4 00:41:59 2008
@@ -30,7 +30,7 @@ libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
@ -39,7 +39,7 @@ $OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
install:
- make install_gamedata target=@GAME_INSTALLDIR@
+ make install_gamedata target=$(PREFIX)/share/maelstrom
+ make install_gamedocs target=$(PREFIX)/share/doc/Maelstrom
+ make install_gamedocs target=$(PREFIX)/share/doc/maelstrom
install_gamedata:
sh mkinstalldirs $(target)/

View File

@ -1,27 +1,27 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/04 06:50:20 phessler Exp $
@comment $OpenBSD: PLIST,v 1.2 2008/06/04 16:23:33 phessler Exp $
bin/maelstrom
bin/maelstrom-netd
share/doc/Maelstrom/
share/doc/Maelstrom/COPYING
share/doc/Maelstrom/COPYING.GPL
share/doc/Maelstrom/Docs/
share/doc/Maelstrom/Docs/Ambrosia_Software,_Inc._FAQ
share/doc/Maelstrom/Docs/Maelstrom-Announce
share/doc/Maelstrom/Docs/Maelstrom.FAQ
share/doc/Maelstrom/Docs/MaelstromGPL_press_release
share/doc/Maelstrom/Docs/Makefile
share/doc/Maelstrom/Docs/Makefile.in
share/doc/Maelstrom/Docs/Networking.Paper
share/doc/Maelstrom/Docs/Porting.Paper
share/doc/Maelstrom/Docs/Quotes
share/doc/Maelstrom/Docs/RSA.README
share/doc/Maelstrom/Docs/Technical_Notes-v1.0
share/doc/Maelstrom/Docs/Technical_Notes-v1.1
share/doc/Maelstrom/Docs/Technical_Notes-v2.0
share/doc/Maelstrom/README
share/doc/Maelstrom/README.joystick
share/doc/Maelstrom/README.network
share/doc/Maelstrom/README.options
share/doc/maelstrom/
share/doc/maelstrom/COPYING
share/doc/maelstrom/COPYING.GPL
share/doc/maelstrom/Docs/
share/doc/maelstrom/Docs/Ambrosia_Software,_Inc._FAQ
share/doc/maelstrom/Docs/Maelstrom-Announce
share/doc/maelstrom/Docs/Maelstrom.FAQ
share/doc/maelstrom/Docs/MaelstromGPL_press_release
share/doc/maelstrom/Docs/Makefile
share/doc/maelstrom/Docs/Makefile.in
share/doc/maelstrom/Docs/Networking.Paper
share/doc/maelstrom/Docs/Porting.Paper
share/doc/maelstrom/Docs/Quotes
share/doc/maelstrom/Docs/RSA.README
share/doc/maelstrom/Docs/Technical_Notes-v1.0
share/doc/maelstrom/Docs/Technical_Notes-v1.1
share/doc/maelstrom/Docs/Technical_Notes-v2.0
share/doc/maelstrom/README
share/doc/maelstrom/README.joystick
share/doc/maelstrom/README.network
share/doc/maelstrom/README.options
share/maelstrom/
share/maelstrom/Images/
share/maelstrom/Images/Maelstrom_Icon#100.cicn