2000-06-06 02:56:18 +02:00
|
|
|
# New ports collection makefile for: qix
|
|
|
|
# Date created: 6 June 2000
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qix
|
2001-04-16 05:15:14 +02:00
|
|
|
PORTVERSION= 1.2
|
2000-06-06 02:56:18 +02:00
|
|
|
CATEGORIES= games
|
2000-06-29 04:31:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= jmz
|
2000-06-06 02:56:18 +02:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= The classic arcade game
|
2000-06-06 02:56:18 +02:00
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
|
|
|
|
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
|
2005-01-01 23:16:28 +01:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
2005-05-05 02:17:29 +02:00
|
|
|
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \
|
|
|
|
${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT}
|
2005-01-01 23:16:28 +01:00
|
|
|
.endif
|
2004-07-23 21:10:32 +02:00
|
|
|
|
2001-06-05 13:38:35 +02:00
|
|
|
.if defined(WITHOUT_X11)
|
2001-04-16 05:15:14 +02:00
|
|
|
MAKE_ARGS= NO_X11=yes
|
|
|
|
.else
|
2000-06-06 02:56:18 +02:00
|
|
|
USE_X_PREFIX= yes
|
2001-04-16 05:15:14 +02:00
|
|
|
PLIST= pkg-plist.x11
|
|
|
|
.endif
|
2000-09-12 15:04:00 +02:00
|
|
|
|
2005-01-01 23:16:28 +01:00
|
|
|
.if (!defined(DISPLAY) || ${DISPLAY} == "") && !defined(PACKAGE_BUILDING)
|
|
|
|
IGNORE= requires an active X session (and DISPLAY variable) to run xrdb. Please compile this while running X
|
2002-05-22 20:19:19 +02:00
|
|
|
.endif
|
|
|
|
|
2000-06-06 02:56:18 +02:00
|
|
|
MAN1= qix.1
|
|
|
|
|
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile~
|
2001-04-16 05:15:14 +02:00
|
|
|
${SED} -e s:/usr/local:${PREFIX}: -e s:/usr/X11R6:${PREFIX}: \
|
2000-06-06 02:56:18 +02:00
|
|
|
< ${WRKSRC}/Makefile~ > ${WRKSRC}/Makefile
|
|
|
|
|
2004-07-23 21:10:32 +02:00
|
|
|
.include <bsd.port.mk>
|