2008-01-04 12:48:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2008/01/04 17:48:35 espie Exp $
|
2001-07-04 12:57:50 -04:00
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
COMMENT= The Dungeons of Moria
|
2001-07-04 12:57:50 -04:00
|
|
|
|
|
|
|
V= 5.5.2
|
|
|
|
DISTNAME= um$V
|
2005-11-03 09:45:09 -05:00
|
|
|
PKGNAME= moria-$Vp1
|
2001-07-04 12:57:50 -04:00
|
|
|
CATEGORIES= games
|
2001-07-18 11:06:33 -04:00
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/unix/games/moria/source/ \
|
|
|
|
ftp://alge.anart.no/pub/games/RPG/moria/
|
2001-07-04 12:57:50 -04:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
HOMEPAGE= http://www-math.bgsu.edu/~grabine/moria.html
|
|
|
|
|
2007-09-15 14:01:00 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= not-for-profit redistribution only
|
2001-07-04 12:57:50 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2007-09-15 14:01:00 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= not-for-profit redistribution only
|
2001-07-04 12:57:50 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-02-25 18:15:12 -05:00
|
|
|
WANTLIB= c curses termcap
|
2001-07-04 12:57:50 -04:00
|
|
|
|
2001-10-24 10:37:24 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-07-04 12:57:50 -04:00
|
|
|
WRKDIST= ${WRKDIR}/umoria
|
|
|
|
WRKSRC= ${WRKDIST}
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
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
|
2008-01-04 12:48:33 -05:00
|
|
|
@cd ${WRKBUILD}; ${MAKE_PROGRAM} ${ALL_FAKE_FLAGS} install
|
2001-07-04 12:57:50 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|