openbsd-ports/games/moria/Makefile
sthen 88ea72915d Change SEPARATE_BUILD=(concurrent|simple) to Yes; bsd.port.mk doesn't
make a distinction between these.  ok aja@ dcoppa@
2012-03-29 13:38:12 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.14 2012/03/29 13:38:30 sthen Exp $
COMMENT= The Dungeons of Moria
V= 5.5.2
DISTNAME= um$V
PKGNAME= moria-$V
REVISION = 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/moria/source/ \
ftp://alge.anart.no/pub/games/RPG/moria/
EXTRACT_SUFX= .tar.Z
HOMEPAGE= http://www-math.bgsu.edu/~grabine/moria.html
PERMIT_PACKAGE_CDROM= not-for-profit redistribution only
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= not-for-profit redistribution only
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c curses termcap
NO_REGRESS= Yes
WRKDIST= ${WRKDIR}/umoria
WRKSRC= ${WRKDIST}
SEPARATE_BUILD= Yes
MAKE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
do-build:
@cd ${WRKBUILD}; for i in ${WRKSRC}/source/*; do ln -sf $$i; done; \
for i in ${WRKSRC}/unix/*; do ln -sf $$i; done; \
ln -sf ${WRKSRC}/files; \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} PREFIX="${PREFIX}"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/moria
@cd ${WRKBUILD}; ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} install
.include <bsd.port.mk>