2008-05-07 10:38:44 +02:00
|
|
|
# New ports collection makefile for: cosmosmash
|
|
|
|
# Date created: 12 Apr 2008
|
2010-09-07 17:52:18 +02:00
|
|
|
# Whom: Ganael Laplanche <ganael.laplanche@martymac.org>
|
2008-05-07 10:38:44 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cosmosmash
|
2010-07-04 19:26:45 +02:00
|
|
|
DISTVERSION= 1.4.5
|
2008-05-07 10:38:44 +02:00
|
|
|
CATEGORIES= games
|
2010-10-12 08:34:43 +02:00
|
|
|
MASTER_SITES= http://perso.b2b2c.ca/sarrazip/dev/ \
|
|
|
|
LOCAL/martymac
|
2008-05-07 10:38:44 +02:00
|
|
|
|
2010-09-27 14:08:23 +02:00
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
2008-05-07 10:38:44 +02:00
|
|
|
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
|
|
|
|
|
2010-10-12 08:34:43 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2008-05-07 10:38:44 +02:00
|
|
|
USE_SDL= sdl image mixer
|
|
|
|
USE_XORG= x11 xau xdmcp
|
|
|
|
USE_ICONV= yes
|
|
|
|
USE_GNOME= desktopfileutils
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`"
|
|
|
|
|
|
|
|
MAN6= cosmosmash.6
|
|
|
|
|
|
|
|
post-patch:
|
2010-07-04 19:26:45 +02:00
|
|
|
@${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
|
2008-05-07 10:38:44 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@-update-desktop-database
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|