openbsd-ports/games/adom/Makefile

44 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.12 2001/02/03 01:15:36 miod Exp $
1999-09-23 16:32:41 -04:00
# Author: Thomas Biskup <rpg@saranxis.ruhr.de>
DISTNAME= adom-g15
1999-09-23 16:32:41 -04:00
CATEGORIES= games
NEED_VERSION= 1.191
MASTER_SITES= http://www.adom.de/adom/download/linux/
DISTFILES= adom-099g15-elf.tar.gz
ONLY_FOR_ARCHS= i386
1999-09-23 16:32:41 -04:00
NO_BUILD= binary port
2000-10-09 20:40:20 -04:00
MAINTAINER= Marc Espie <espie@openbsd.org>
2000-03-16 18:06:43 -05:00
PERMIT_PACKAGE_CDROM= "no modify"
PERMIT_PACKAGE_FTP= "no modify"
PERMIT_DISTFILES_CDROM= "no modify"
PERMIT_DISTFILES_FTP= Yes
2000-02-10 19:37:15 -05:00
WRKDIST= ${WRKDIR}/adom
1999-09-23 16:32:41 -04:00
ADOM_DOC= ${PREFIX}/share/doc/adom
# cage adom into its specific group if you don't trust the binary
1999-09-23 16:32:41 -04:00
ADOMOWN?= games
# can't be changed except by patching the binary
1999-09-23 16:32:41 -04:00
HISCORE_DIR= /var/lib/adom
.if !defined(NO_WARNINGS)
pre-fetch:
@echo "Your kernel must have COMPAT_LINUX (GENERIC does)"
.endif
do-install:
@${INSTALL_DATA_DIR} ${ADOM_DOC}
@cd ${WRKSRC} && ${INSTALL_DATA} adomfaq.txt manual.doc readme.1st ${ADOM_DOC}
@cd ${WRKSRC} && ${INSTALL} ${INSTALL_COPY} \
-o ${BINOWN} -g ${ADOMOWN} -m 2555 adom ${PREFIX}/bin
2000-05-16 21:21:21 -04:00
@${INSTALL} -d -o ${SHAREOWN} -g ${ADOMOWN} -m 775 ${WRKINST}${HISCORE_DIR}
.include <bsd.port.mk>