1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/games/gweled/Makefile
Bartek Rutkowski c9a12bc393 games/gweled: update 0.7 -> 0.9.1
- Add LICENSE
- Update MASTER_SITES and WWW
- Maintainer's timeout (gnome@FreeBSD.org)

PR:		185563
Submitted by:	Hardy Schumacher <hardy.schumacher@gmx.de>
2015-03-15 08:24:35 +00:00

36 lines
971 B
Makefile

# Created by: James Earl
# $FreeBSD$
PORTNAME= gweled
PORTVERSION= 0.9.1
CATEGORIES= games gnome
MASTER_SITES= http://launchpad.net/gweled/trunk/${PORTVERSION}/+download/
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME version of the game called "Bejeweled" or "Diamond Mine"
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmikmod.so:${PORTSDIR}/audio/libmikmod
USES= gmake pathfix pkgconfig
USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/games|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \
${WRKSRC}/install-sh
post-install:
${RM} ${STAGEDIR}${PREFIX}/share/games/gweled.easy.scores
${TOUCH} ${STAGEDIR}${PREFIX}/share/games/gweled.easy.scores.sample
${TOUCH} ${STAGEDIR}${PREFIX}/share/games/gweled.timed.scores.sample
.include <bsd.port.mk>