821843ca06
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here Reviewed by: bapt, kwm
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cosmosmash
|
|
DISTVERSION= 1.4.7
|
|
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)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= flatzebra:${PORTSDIR}/devel/flatzebra \
|
|
aa:${PORTSDIR}/graphics/aalib \
|
|
mikmod:${PORTSDIR}/audio/libmikmod \
|
|
audiofile:${PORTSDIR}/audio/libaudiofile
|
|
|
|
USE_SDL= sdl image mixer
|
|
USE_XORG= x11 xau xdmcp
|
|
USES= iconv
|
|
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
|
|
|
|
.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 empty(PORT_OPTIONS:MDOCS)
|
|
@${REINPLACE_CMD} 's|^install-data-am: .*|install-data-am: install-man|' \
|
|
${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
post-install:
|
|
@-update-desktop-database
|
|
|
|
.include <bsd.port.mk>
|