2000-08-10 19:50:04 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2000/08/10 17:50:04 pooka Exp $
|
1998-08-27 14:58:51 +02:00
|
|
|
#
|
|
|
|
|
2000-08-10 19:50:04 +02:00
|
|
|
.include "../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}
|
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
|
1998-08-27 14:58:51 +02:00
|
|
|
ALL_TARGET= datastuff
|
|
|
|
INSTALL_TARGET= manpages install-dat
|
|
|
|
|
2000-04-14 16:06:52 +02:00
|
|
|
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
|
|
|
|
|
2000-07-17 16:31:12 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
2000-07-17 17:37:15 +02:00
|
|
|
MAKE_FLAGS+= CC=gcc CPPFLAGS=
|
2000-07-17 16:31:12 +02:00
|
|
|
.endif
|
|
|
|
|
2000-04-14 16:06:52 +02:00
|
|
|
post-build:
|
2000-07-17 16:31:12 +02:00
|
|
|
${SED} -e 's|@PREFIX@|${PREFIX}|' ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
|
2000-04-14 16:06:52 +02:00
|
|
|
|
1998-08-27 14:58:51 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|