mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
be6c15b5c6
Add USES=xorg and USES=gl to ports in categories starting with 'g'. While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
33 lines
683 B
Makefile
33 lines
683 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= ports@FreeBSD.org
|
|
COMMENT= Getting the Gold and Avoiding Death
|
|
|
|
USES= xorg
|
|
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>
|