9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2020/01/26 17:31:18 rillig Exp $
|
|
#
|
|
|
|
DISTNAME= xsokoban-3.3c
|
|
PKGREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.cs.cornell.edu/andru/release/
|
|
|
|
MAINTAINER= cheusov@NetBSD.org
|
|
HOMEPAGE= https://www.cs.cornell.edu/andru/release/
|
|
COMMENT= Classic logical game
|
|
|
|
WRKSRC= ${WRKDIR}/xsokoban
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= autoconf
|
|
|
|
SAVEPATH= ${VARBASE}/games/xsokoban
|
|
SCOREFILE= ${SAVEPATH}/scores
|
|
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/xsokoban
|
|
CONFIGURE_ENV+= X11BASE=${X11BASE}
|
|
|
|
# For removing setting SETGIDGAME from here pkgsrc should be fixed
|
|
SETGIDGAME= yes
|
|
|
|
SPECIAL_PERMS= bin/xsokoban ${SETGID_GAMES_PERMS}
|
|
OWN_DIRS_PERMS+= ${SAVEPATH} ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
|
|
|
|
MAKE_FLAGS+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
|
|
MAKE_FLAGS+= INSTALL_DATA=${INSTALL_DATA:Q}
|
|
MAKE_FLAGS+= INSTALL=${INSTALL:Q}
|
|
MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
|
|
|
|
BUILD_TARGET= xsokoban
|
|
|
|
CPPFLAGS+= -DROOTDIR="\"${PREFIX}/share/xsokoban\""
|
|
CPPFLAGS+= -DSAVEPATH="\"${SAVEPATH}\""
|
|
CPPFLAGS+= -DSCOREPATH="\"${SCOREFILE}\""
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
AUTOCONF_REQD= 2.59
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|