6e02d7ee41
Suggested by Roland Illig, ok'd by various.
28 lines
737 B
Makefile
28 lines
737 B
Makefile
# $NetBSD: Makefile,v 1.17 2004/12/03 15:14:57 wiz Exp $
|
|
#
|
|
|
|
.include "../nethack-lib/Makefile.common"
|
|
|
|
PKGNAME= nethack-lib-${NETHACK_VERSION}
|
|
|
|
COMMENT= Data files for Nethack
|
|
|
|
USE_BUILDLINK3= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= ./sys/unix/setup.sh
|
|
BUILD_TARGET= datastuff
|
|
INSTALL_TARGET= manpages install-dat
|
|
|
|
USE_PKGINSTALL= yes
|
|
|
|
SUPPORT_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/record \
|
|
${ROOT_USER} games 664
|
|
SUPPORT_FILES_PERMS+= /dev/null ${PREFIX}/share/${NETHACK_DIR}/logfile \
|
|
${ROOT_USER} games 664
|
|
|
|
MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR} \
|
|
${ROOT_USER} games 775
|
|
MAKE_DIRS_PERMS+= ${PREFIX}/share/${NETHACK_DIR}/save \
|
|
${ROOT_USER} games 770
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|