2010-12-03 02:27:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2010/12/03 07:27:02 jasper Exp $
|
1999-09-23 16:32:41 -04:00
|
|
|
# Author: Thomas Biskup <rpg@saranxis.ruhr.de>
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
COMMENT = Ancient Domains of Mystery - roguelike
|
2001-05-05 21:06:09 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
DISTNAME = adom-1.1.1
|
|
|
|
REVISION = 4
|
|
|
|
CATEGORIES = games
|
|
|
|
MASTER_SITES = http://www.adom.de/adom/download/linux/
|
|
|
|
HOMEPAGE = http://www.adom.de/
|
|
|
|
DISTFILES = adom-111-elf.tar.gz
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
ONLY_FOR_ARCHS =i386
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-12-03 02:27:02 -05:00
|
|
|
# binary port
|
|
|
|
NO_BUILD = Yes
|
2010-11-16 06:23:25 -05:00
|
|
|
NO_REGRESS = Yes
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
MAINTAINER = Marc Espie <espie@openbsd.org>
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
PERMIT_PACKAGE_CDROM = no modify
|
|
|
|
PERMIT_PACKAGE_FTP = no modify
|
|
|
|
PERMIT_DISTFILES_CDROM =no modify
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2000-03-16 18:06:43 -05:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
WRKDIST = ${WRKDIR}/adom
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
ADOM_DOC = ${PREFIX}/share/doc/adom
|
1999-06-18 12:54:55 -04:00
|
|
|
|
|
|
|
# cage adom into its specific group if you don't trust the binary
|
2010-11-16 06:23:25 -05:00
|
|
|
ADOMOWN ?= games
|
1999-06-18 12:54:55 -04:00
|
|
|
|
|
|
|
# can't be changed except by patching the binary
|
2010-11-16 06:23:25 -05:00
|
|
|
HISCORE_DIR = /var/lib/adom
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2001-02-02 20:15:36 -05:00
|
|
|
.if !defined(NO_WARNINGS)
|
1999-06-18 12:54:55 -04:00
|
|
|
pre-fetch:
|
2000-02-10 20:09:59 -05:00
|
|
|
@echo "Your kernel must have COMPAT_LINUX (GENERIC does)"
|
2001-02-02 20:15:36 -05:00
|
|
|
.endif
|
1999-06-18 12:54:55 -04:00
|
|
|
|
2010-11-16 06:23:25 -05:00
|
|
|
RUN_DEPENDS = emulators/fedora/base
|
2002-11-14 09:39:38 -05:00
|
|
|
|
1999-06-18 12:54:55 -04:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_DATA_DIR} ${ADOM_DOC}
|
2002-11-23 09:05:15 -05:00
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} adomfaq.txt manual.doc readme.1st ${ADOM_DOC}
|
1999-06-18 12:54:55 -04:00
|
|
|
@cd ${WRKSRC} && ${INSTALL} ${INSTALL_COPY} \
|
2005-10-01 09:47:56 -04:00
|
|
|
-o ${BINOWN} -g ${ADOMOWN} -m 2555 adom ${PREFIX}/bin/adom
|
2000-05-16 21:21:21 -04:00
|
|
|
@${INSTALL} -d -o ${SHAREOWN} -g ${ADOMOWN} -m 775 ${WRKINST}${HISCORE_DIR}
|
1999-06-18 12:54:55 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|