aboutsummaryrefslogtreecommitdiff
path: root/games/qix/Makefile
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-16 03:15:14 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2001-04-16 03:15:14 +0000
commit2026d5c01e0e301d10637db9e47ae049871e13b1 (patch)
treea4385833f60565b02bd8afbd68d66e8693cd670b /games/qix/Makefile
parent863f2b58e4023c80094c14b4a1948180fd2de53c (diff)
downloadports-2026d5c01e0e301d10637db9e47ae049871e13b1.tar.gz
ports-2026d5c01e0e301d10637db9e47ae049871e13b1.zip
Notes
Diffstat (limited to 'games/qix/Makefile')
-rw-r--r--games/qix/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/qix/Makefile b/games/qix/Makefile
index 3edbf2aa2202..fb81f2ef7e61 100644
--- a/games/qix/Makefile
+++ b/games/qix/Makefile
@@ -6,17 +6,21 @@
#
PORTNAME= qix
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jmz
MAINTAINER= jmz@FreeBSD.org
+.if defined(NO_X)
+MAKE_ARGS= NO_X11=yes
+.include <bsd.port.pre.mk>
+.else
USE_X_PREFIX= yes
-
.include <bsd.port.pre.mk>
-
+PLIST= pkg-plist.x11
+.endif
.if ${XFREE86_VERSION} == 4
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
@@ -29,7 +33,7 @@ PLIST_SUB= FONTSDIR=${FONTSDIR}
do-configure:
@${CP} ${WRKSRC}/Makefile ${WRKSRC}/Makefile~
- @${SED} -e s:/usr/local:${PREFIX}: -e s:/usr/X11R6:${PREFIX}: \
+ ${SED} -e s:/usr/local:${PREFIX}: -e s:/usr/X11R6:${PREFIX}: \
< ${WRKSRC}/Makefile~ > ${WRKSRC}/Makefile
.include <bsd.port.post.mk>