2d7816f71f
and revised the make install target in hopes of having it work better with pkgsrc and setgid games (didn't get any feedback on pkgsrc setgid games, so I took my best shot at it).
28 lines
653 B
Makefile
28 lines
653 B
Makefile
# $NetBSD: Makefile,v 1.12 2008/11/25 03:15:32 chuck Exp $
|
|
#
|
|
|
|
DISTNAME= golddigC3.1
|
|
PKGNAME= golddig-3.1
|
|
CATEGORIES= games x11
|
|
MASTER_SITES= http://www.NetBSD.org/~chuck/gz/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Fast action game designed for use with X
|
|
|
|
USE_X11BASE= yes
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
|
|
|
SCORE_GROUP= games
|
|
PKG_GROUPS= ${SCORE_GROUP}
|
|
|
|
MAKE_ENV+= SCORE_GROUP=${SCORE_GROUP:Q}
|
|
|
|
post-build:
|
|
for f in ${WRKSRC}/golddig.6 ${WRKSRC}/gdedit.6; do \
|
|
${SED} "s|@PREFIX@|${PREFIX}|g" $$f > $$f.new && \
|
|
${MV} $$f.new $$f; \
|
|
done
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|