fbd0197639
- Update audio/sdl_mixer to 1.2.15 - Update graphics/sdl_image to 1.2.12 - Update graphics/sdl_ttf to 2.0.11 - Update graphics/sdl_gfx to 2.0.23 - Update net/sdl_net to 1.2.8 - Bump PORTREVISIONs on ports that depend on one or more packages due to ABI and shared library version changes - Update Mk/bsd.sdl.mk accordingly for the new shared library versions Tested by: exp-run by pav
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: cosmosmash
|
|
# Date created: 12 Apr 2008
|
|
# Whom: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cosmosmash
|
|
DISTVERSION= 1.4.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ \
|
|
LOCAL/martymac
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= A clone of the Intellivision(TM) game Astrosmash(TM)
|
|
|
|
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
|
|
USE_GNOME= desktopfileutils
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags`
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`
|
|
|
|
MAN6= cosmosmash.6
|
|
|
|
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)
|
|
@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-man|' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
post-install:
|
|
@-update-desktop-database
|
|
|
|
.include <bsd.port.mk>
|