mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
97f5b7fc77
two-character tabs! Grrrowl. While I'm here, OPTIONS'ify the xglk support.
48 lines
1003 B
Makefile
48 lines
1003 B
Makefile
# New ports collection makefile for: scare
|
|
# Date created: 6 February 2005
|
|
# Whom: Peter Pentchev <roam@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scare
|
|
PORTVERSION= 1.3.4
|
|
CATEGORIES= games
|
|
MASTER_SITES= ftp://ftp.ifarchive.org/if-archive/programming/adrift/ \
|
|
http://www.geocities.com/legion_if/
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
|
COMMENT= ADRIFT-compatible interactive games interpreter
|
|
|
|
OPTIONS= XGLK "Use the xglk graphics library" off
|
|
|
|
USE_ZIP= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
|
|
|
BINFILES= scare
|
|
|
|
.if defined(WITH_XGLK)
|
|
PKGNAMESUFFIX= -glk
|
|
|
|
BUILD_DEPENDS+= ${X11BASE}/lib/libxglk.a:${PORTSDIR}/games/xglk
|
|
RUN_DEPENDS+= ${X11BASE}/lib/libxglk.a:${PORTSDIR}/games/xglk
|
|
|
|
ALL_TARGET= all glkscare
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/xglk.patch
|
|
|
|
BINFILES+= glkscare
|
|
.else
|
|
EXTRA_PATCHES= ${FILESDIR}/no-xglk.patch
|
|
.endif
|
|
|
|
PLIST_FILES= ${BINFILES:S,^,bin/,}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${BINFILES:S,^,${WRKSRC}/,} ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.post.mk>
|