mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
e7b81852c3
- Improve highscore file handling - Pass maintainership to games@ - Fix insallation from user - Strip binary
32 lines
671 B
Makefile
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>
|