diff options
author | martymac <martymac@FreeBSD.org> | 2012-06-15 17:57:55 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2012-06-15 17:57:55 +0800 |
commit | c742493709778bf38ae77084def7c77e78147a62 (patch) | |
tree | 60abb9de634455cbda4ea8005d4e2d36d7eb9bb4 /games | |
parent | c5c384536d859c1f80e9434bf88c07f861d31797 (diff) | |
download | freebsd-ports-gnome-c742493709778bf38ae77084def7c77e78147a62.tar.gz freebsd-ports-gnome-c742493709778bf38ae77084def7c77e78147a62.tar.zst freebsd-ports-gnome-c742493709778bf38ae77084def7c77e78147a62.zip |
- Switch to OptionsNg
- Swap LICENSE and *_DEPENDS to make portlint happy
Diffstat (limited to 'games')
-rw-r--r-- | games/cosmosmash/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/cosmosmash/Makefile b/games/cosmosmash/Makefile index 0db91162440b..03ee6d1dca87 100644 --- a/games/cosmosmash/Makefile +++ b/games/cosmosmash/Makefile @@ -15,13 +15,13 @@ MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ \ MAINTAINER= martymac@FreeBSD.org COMMENT= A clone of the Intellivision(TM) game Astrosmash(TM) +LICENSE= GPLv2 + LIB_DEPENDS= flatzebra:${PORTSDIR}/devel/flatzebra \ aa:${PORTSDIR}/graphics/aalib \ mikmod:${PORTSDIR}/audio/libmikmod \ audiofile:${PORTSDIR}/audio/libaudiofile -LICENSE= GPLv2 - USE_SDL= sdl image mixer USE_XORG= x11 xau xdmcp USE_ICONV= yes @@ -32,12 +32,14 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs` MAN6= cosmosmash.6 +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} 's|^pkgsounddir = .*|pkgsounddir = ${DATADIR}/sounds|' \ ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} 's|^docdir = .*|docdir = ${DOCSDIR}|' \ ${WRKSRC}/Makefile.in -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-man|' \ ${WRKSRC}/Makefile.in .endif |