2008-09-25 16:02:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2008/09/25 14:02:09 wiz Exp $
|
1998-08-27 14:58:51 +02:00
|
|
|
#
|
|
|
|
|
2005-11-08 23:31:49 +01:00
|
|
|
.include "../../games/nethack-lib/Makefile.common"
|
1998-08-27 14:58:51 +02:00
|
|
|
|
2000-08-10 19:50:04 +02:00
|
|
|
PKGNAME= nethack-lib-${NETHACK_VERSION}
|
2008-09-25 16:02:08 +02:00
|
|
|
PKGREVISION= 2
|
1998-08-27 14:58:51 +02:00
|
|
|
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Data files for Nethack
|
2001-02-16 16:10:41 +01:00
|
|
|
|
1998-08-27 14:58:51 +02:00
|
|
|
HAS_CONFIGURE= yes
|
2000-03-27 10:54:53 +02:00
|
|
|
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= datastuff
|
1998-08-27 14:58:51 +02:00
|
|
|
INSTALL_TARGET= manpages install-dat
|
2007-03-24 20:21:18 +01:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man6
|
1998-08-27 14:58:51 +02:00
|
|
|
|
2006-04-10 14:56:04 +02:00
|
|
|
# Special handling for the scorefiles: we do not want to delete
|
|
|
|
# them between package installations and deinstallations.
|
|
|
|
#
|
|
|
|
# These should eventually migrate to a better location, but keep them
|
|
|
|
# here for now until we lose backward compatibility because of changes
|
|
|
|
# to the fileformat.
|
2005-08-19 20:12:36 +02:00
|
|
|
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \
|
2006-08-29 01:03:14 +02:00
|
|
|
${ROOT_USER} ${NETHACK_GROUP} 664
|
2005-08-19 20:12:36 +02:00
|
|
|
CONF_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \
|
2006-08-29 01:03:14 +02:00
|
|
|
${ROOT_USER} ${NETHACK_GROUP} 664
|
2003-10-14 15:42:18 +02:00
|
|
|
|
2005-08-20 21:16:21 +02:00
|
|
|
REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
|
2006-08-29 01:03:14 +02:00
|
|
|
${ROOT_USER} ${NETHACK_GROUP} 775
|
2005-08-20 21:16:21 +02:00
|
|
|
REQD_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
|
2006-08-29 01:03:14 +02:00
|
|
|
${ROOT_USER} ${NETHACK_GROUP} 770
|
2003-10-14 15:42:18 +02:00
|
|
|
|
2006-04-10 14:56:04 +02:00
|
|
|
CHECK_FILES_SKIP+= ${PREFIX}/share/${NETHACK_DIR}/logfile \
|
|
|
|
${PREFIX}/share/${NETHACK_DIR}/record
|
|
|
|
|
1998-08-27 14:58:51 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|