1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/games/golddig/Makefile
Dmitry Marakasov e7b81852c3 - Stagify
- Improve highscore file handling
- Pass maintainership to games@
- Fix insallation from user
- Strip binary
2014-05-26 20:23:16 +00:00

32 lines
671 B
Makefile

# Created by: jmz
# $FreeBSD$
PORTNAME= golddig
PORTVERSION= 3.1
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.NetBSD.org/~chuck/gz/
DISTNAME= ${PORTNAME}C${PORTVERSION}
MAINTAINER= games@FreeBSD.org
COMMENT= Getting the Gold and Avoiding Death
USE_XORG= x11
MAKE_ENV= X11BASE="${LOCALBASE}" \
_STRIPFLAG_INSTALL="${STRIP}"
LDFLAGS+= -L${LOCALBASE}/lib
SCOREFILE= /var/games/golddig.scores
SUB_FILES= pkg-deinstall pkg-install
SUB_LIST= SCOREFILE="${SCOREFILE}"
DESKTOP_ENTRIES="Gold Digger" "" "" "${PORTNAME}" "" ""
post-patch:
@${GREP} -lR "@PREFIX@" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|@PREFIX@|${PREFIX}|'
.include <bsd.port.mk>