mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
88d78c401e
PACKAGE_BUILDING case. The package build scripts then DTRT and ensure this is running at build-time so a DISPLAY is available. Approved by: portmgr (self)
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# New ports collection makefile for: qix
|
|
# Date created: 6 June 2000
|
|
# Whom: jmz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qix
|
|
PORTVERSION= 1.2
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= jmz
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
COMMENT= The classic arcade game
|
|
|
|
BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
|
|
RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
|
|
.if defined(PACKAGE_BUILDING)
|
|
BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT}
|
|
.endif
|
|
|
|
.if defined(WITHOUT_X11)
|
|
MAKE_ARGS= NO_X11=yes
|
|
.else
|
|
USE_X_PREFIX= yes
|
|
PLIST= pkg-plist.x11
|
|
.endif
|
|
|
|
.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
|
|
.endif
|
|
|
|
MAN1= qix.1
|
|
|
|
FONTSDIR= lib/X11/fonts/local
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
do-configure:
|
|
@${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile~
|
|
${SED} -e s:/usr/local:${PREFIX}: -e s:/usr/X11R6:${PREFIX}: \
|
|
< ${WRKSRC}/Makefile~ > ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|