aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/actx/Makefile12
-rw-r--r--games/antipolix/Makefile11
-rw-r--r--games/awele/Makefile10
-rw-r--r--games/cosmo/Makefile8
-rw-r--r--games/editss/Makefile10
-rw-r--r--games/flying/Makefile8
-rw-r--r--games/gru/Makefile12
-rw-r--r--games/mindfocus/Makefile12
-rw-r--r--games/oneko-sakura/Makefile8
-rw-r--r--games/speyes/Makefile8
-rw-r--r--games/sxsame/Makefile14
-rw-r--r--games/wmeyes/Makefile12
-rw-r--r--games/xbat/Makefile8
-rw-r--r--games/xbattle/Makefile6
-rw-r--r--games/xcheckers/Makefile10
-rw-r--r--games/xcubes/Makefile8
-rw-r--r--games/xdeblock/Makefile8
-rw-r--r--games/xdemineur/Makefile8
-rw-r--r--games/xdigger/Makefile12
-rw-r--r--games/xdino/Makefile8
-rw-r--r--games/xhexagons/Makefile8
-rw-r--r--games/xhime/Makefile14
-rw-r--r--games/xisola/Makefile11
-rw-r--r--games/xkobo/Makefile14
-rw-r--r--games/xkoules/Makefile12
-rw-r--r--games/xlaby/Makefile8
-rw-r--r--games/xmball/Makefile8
-rw-r--r--games/xmemory/Makefile2
-rw-r--r--games/xminesweep/Makefile8
-rw-r--r--games/xmlink/Makefile8
-rw-r--r--games/xmris/Makefile7
-rw-r--r--games/xmulti/Makefile14
-rw-r--r--games/xoct/Makefile8
-rw-r--r--games/xoids/Makefile10
-rw-r--r--games/xoj/Makefile8
-rw-r--r--games/xonix/Makefile8
-rw-r--r--games/xpacman/Makefile10
-rw-r--r--games/xpanex/Makefile8
-rw-r--r--games/xpat2/Makefile10
-rw-r--r--games/xpyraminx/Makefile8
-rw-r--r--games/xrobots/Makefile8
-rw-r--r--games/xrot/Makefile2
-rw-r--r--games/xskewb/Makefile8
-rw-r--r--games/xsokoban/Makefile13
-rw-r--r--games/xspacewarp/Makefile8
-rw-r--r--games/xtic/Makefile10
-rw-r--r--games/xtriangles/Makefile8
-rw-r--r--games/xvier/Makefile12
-rw-r--r--games/yamsweeper/Makefile8
49 files changed, 145 insertions, 309 deletions
diff --git a/games/actx/Makefile b/games/actx/Makefile
index ab953e809f6d..bab46e135d07 100644
--- a/games/actx/Makefile
+++ b/games/actx/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: actx
-# Date created: 19 Feb 1999
-# Whom: Shinya Esu <esu@yk.rim.or.jp>
-#
+# Created by: Shinya Esu <esu@yk.rim.or.jp>
# $FreeBSD$
-#
PORTNAME= actx
PORTVERSION= 1.23
@@ -16,13 +12,15 @@ COMMENT= Window sitter for X11
NO_CDROM= 'contains commercial character data'
-USE_IMAKE= yes
+USES= imake
USE_XORG= xaw
MAN1= actx.1
MANLANG= "" ja
ACTXDIR= ${PREFIX}/share/examples/actx
+.include <bsd.port.options.mk>
+
post-extract:
@ ${CP} ${WRKSRC}/samples/Imakefile ${WRKSRC}
@@ -45,7 +43,7 @@ post-install:
.for i in sample.Xdefaults sample.actxrc
@ ${INSTALL_DATA} ${WRKSRC}/samples/$i ${ACTXDIR}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTONS:MDOCS}
.for i in doc/ForDevelloper.jis doc/ManualInstall.jis README.jis
@ ${MKDIR} ${PREFIX}/share/doc/ja/actx
@ ${INSTALL_MAN} ${WRKSRC}/$i ${PREFIX}/share/doc/ja/actx
diff --git a/games/antipolix/Makefile b/games/antipolix/Makefile
index 9a63cdde0b86..28ecaac1484e 100644
--- a/games/antipolix/Makefile
+++ b/games/antipolix/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: antipolix
-# Date created: 2 December 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= antipolix
PORTVERSION= 2.1
@@ -17,10 +13,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple multiplayer game for X Window System
NO_WRKSUBDIR= yes
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11
NO_INSTALL_MANPAGES= yes
+.include <bsd.port.options.mk>
pre-build:
@${TOUCH} ${WRKSRC}/client.man ${WRKSRC}/server.man
@@ -31,7 +28,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample
${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample
${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/antipolix
.for file in ANTIPOLIX_RULES CLIENT_USE COPYRIGHT SERVER_USE
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix
diff --git a/games/awele/Makefile b/games/awele/Makefile
index 0e580dd4d41f..77a85b55aff2 100644
--- a/games/awele/Makefile
+++ b/games/awele/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: awele
-# Date created: 01 May 1998
-# Whom: Thomas Gellekum <tg@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= awele
PORTVERSION= 1.0
@@ -14,12 +10,12 @@ DISTNAME= ${PORTNAME}${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-COMMENT= An african board game
+COMMENT= African board game
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= imake
USE_XORG= x11
-USE_IMAKE= yes
USE_TCL_BUILD= yes
USE_TK_BUILD= yes
USE_TCL= yes
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile
index 0234de92a899..08025817ee85 100644
--- a/games/cosmo/Makefile
+++ b/games/cosmo/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: cosmo
-# Date created: 28 December 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= cosmo
PORTVERSION= 2.0.4
@@ -26,7 +22,7 @@ NO_CDROM= Possible copyright infringement
WRKSRC= ${WRKDIR}/cosmo2
DIST_SUBDIR= cosmo
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
XMKMF= xmkmf
NO_INSTALL_MANPAGES= yes
diff --git a/games/editss/Makefile b/games/editss/Makefile
index 5c3d2f355ccc..7b18c14ca8ec 100644
--- a/games/editss/Makefile
+++ b/games/editss/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: editss
-# Date created: 14 November 2001
-# Whom: Jean-Yves Lefort <jylefort@brutele.be>
-#
+# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
-#
PORTNAME= editss
PORTVERSION= 2.2
@@ -13,9 +9,9 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jylefort
MAINTAINER= ports@FreeBSD.org
-COMMENT= An editor for XPilot shipshapes
+COMMENT= Editor for XPilot shipshapes
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xaw xmu xt
ALL_TARGET= editss
MAN6= editss.6
diff --git a/games/flying/Makefile b/games/flying/Makefile
index c9cf9dc5672c..154d9d35c036 100644
--- a/games/flying/Makefile
+++ b/games/flying/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: flying
-# Date created: 12 Jul 1996
-# Whom: searle
-#
+# Created by: searle
# $FreeBSD$
-#
PORTNAME= flying
PORTVERSION= 6.20
@@ -16,7 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Pool/snooker/billiards/carrom/etc game
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11
MAN1= flying.1
PLIST_FILES= bin/flying
diff --git a/games/gru/Makefile b/games/gru/Makefile
index 3dbcccebfa25..be4f9059785d 100644
--- a/games/gru/Makefile
+++ b/games/gru/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gru
-# Date created: 21 Sep 1999
-# Whom: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
-#
+# Created by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
# $FreeBSD$
-#
PORTNAME= gru
PORTVERSION= 8087
@@ -14,12 +10,14 @@ MASTER_SITES= http://www.bsddiary.net/gru/
MAINTAINER= ports@FreeBSD.org
COMMENT= Gru makes your eyes happy
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xmu xpm xaw xt sm ice
MAN1= gru.1
-.if !defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
DOCSDIR= ${PREFIX}/share/doc/ja/gru
post-install:
${MKDIR} ${DOCSDIR}
diff --git a/games/mindfocus/Makefile b/games/mindfocus/Makefile
index 9a56b5a7cfb7..39dea062c43c 100644
--- a/games/mindfocus/Makefile
+++ b/games/mindfocus/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mindfocus
-# Date created: 3 December 1998
-# Whom: Sugimoto Sadahiro <ixtl@utmc.or.jp>
-#
+# Created by: Sugimoto Sadahiro <ixtl@utmc.or.jp>
# $FreeBSD$
-#
PORTNAME= mindfocus
PORTVERSION= 0.88
@@ -15,12 +11,14 @@ DISTFILES= mindfocus-0.88.tar.gz mindfocus-data1.tar.gz
MAINTAINER= ixtl@utmc.or.jp
COMMENT= Lovely characters stay on top of active window
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm
RESTRICTED= 'contains commercial character data'
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
+.include <bsd.port.options.mk>
+
post-install:
.for i in mayu.mfc mio.mfc misaki2.mfc mizuka.mfc myu.mfc ryoko.mfc
${INSTALL_DATA} ${WRKDIR}/$i ${EXAMPLESDIR}
@@ -34,7 +32,7 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/pixmaps/$i ${EXAMPLESDIR}/pixmaps
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/HISTORY.euc ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/doc/MFC.euc ${DOCSDIR}
diff --git a/games/oneko-sakura/Makefile b/games/oneko-sakura/Makefile
index a1cc80be22ae..c5fdb8b5c66f 100644
--- a/games/oneko-sakura/Makefile
+++ b/games/oneko-sakura/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: oneko-sakura
-# Date created: 25 May 1999
-# Whom: HOTARU-YA <hotaru@tail.net>
-#
+# Created by: HOTARU-YA <hotaru@tail.net>
# $FreeBSD$
-#
PORTNAME= oneko
PORTVERSION= 1.2
@@ -17,7 +13,7 @@ COMMENT= A cat, Sakura or Tomoyo chasing a mouse all over the screen
CONFLICTS= oneko-2.*
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN6= oneko.6
PLIST_FILES= bin/oneko
diff --git a/games/speyes/Makefile b/games/speyes/Makefile
index 82af22b2e0a1..63db5003404a 100644
--- a/games/speyes/Makefile
+++ b/games/speyes/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: speyes
-# Date created: 03 November 1999
-# Whom: Chris D. Faulhaber <jedgar@fxp.org>
-#
+# Created by: Chris D. Faulhaber <jedgar@fxp.org>
# $FreeBSD$
-#
PORTNAME= speyes
PORTVERSION= 1.2.0
@@ -15,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= WindowMaker dockapp/xeyes clone using SouthPark characters
PLIST_FILES= bin/speyes
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm xmu
.include <bsd.port.mk>
diff --git a/games/sxsame/Makefile b/games/sxsame/Makefile
index 96a1e4dc20d9..b5e87304e14b 100644
--- a/games/sxsame/Makefile
+++ b/games/sxsame/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: sxsame
-# Date created: 11 December 1999
-# Whom: Yuichi Narahara
-#
+# Created by: Yuichi Narahara
# $FreeBSD$
-#
PORTNAME= sxsame
PORTVERSION= 3.02
@@ -19,9 +15,9 @@ MASTER_SITES= http://hanzubon.jp/mirrors/Vine/%SUBDIR%/ \
MASTER_SITE_SUBDIR= VinePlus/1.1/JG-0.9.1/sources
MAINTAINER= ports@FreeBSD.org
-COMMENT= A tile-removing puzzle game for the X Window system
+COMMENT= Tile-removing puzzle game for the X Window system
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm
INSTALL_TARGET= install install.dir
BINOWN= root
@@ -29,8 +25,10 @@ BINGRP= games
BINMODE= 2755
MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE}
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in INSTALL.jp README.jp
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
diff --git a/games/wmeyes/Makefile b/games/wmeyes/Makefile
index 3898dcf20ba1..f6dedc7ae520 100644
--- a/games/wmeyes/Makefile
+++ b/games/wmeyes/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: wmeyes
-# Date created: 18 March 1999
-# Whom: Zenin <zenin@archive.rhps.org>
-#
+# Created by: Zenin <zenin@archive.rhps.org>
# $FreeBSD$
-#
PORTNAME= wmeyes
PORTVERSION= 1.2
@@ -14,18 +10,20 @@ MASTER_SITES= http://www.bstern.org/wmeyes/
MAINTAINER= ports@FreeBSD.org
COMMENT= The world's most useless WindowMaker dock app
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm xmu
NO_INSTALL_MANPAGES= yes
PORTDOCS= README
PLIST_FILES= bin/wmeyes
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|Target(|TargetNoMan(|g' ${WRKSRC}/Imakefile
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
diff --git a/games/xbat/Makefile b/games/xbat/Makefile
index 4cf6e83c0dfa..4f8db56d64d9 100644
--- a/games/xbat/Makefile
+++ b/games/xbat/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xbat
-# Date created: 30 January 1997
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= xbat
PORTVERSION= 1.11
@@ -18,7 +14,7 @@ COMMENT= XEVIOUS like shooting game
NO_CDROM= Possible copyright infringement
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
WRKSRC= ${WRKDIR}/Xev111
ALL_TARGET= xbat
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index 221a9c41acc3..8557c4ec755e 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -11,12 +11,14 @@ MASTER_SITE_SUBDIR= distfiles
MAINTAINER= ports@FreeBSD.org
COMMENT= Concurrent multi-player battle strategy game
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN1= xbattle.1
CFLAGS+= -Wno-return-type
+.include <bsd.port.options.mk>
+
post-install:
$(MKDIR) $(PREFIX)/share/xbattle
$(CP) -R $(WRKSRC)/xbos $(PREFIX)/share/xbattle/
@@ -29,7 +31,7 @@ post-install:
@${CHMOD} 644 ${PREFIX}/share/xbattle/xbos/*
@${CHMOD} 755 ${PREFIX}/share/xbattle/xbts
@${CHMOD} 644 ${PREFIX}/share/xbattle/xbts/*
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/tutorial* ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/games/xcheckers/Makefile b/games/xcheckers/Makefile
index 5997157e793d..c0db667a7cd5 100644
--- a/games/xcheckers/Makefile
+++ b/games/xcheckers/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xcheckers
-# Date created: 25 January 2003
-# Whom: Simon Barner <barner@gmx.de>
-#
+# Created by: Simon Barner <barner@gmx.de>
# $FreeBSD$
-#
PORTNAME= xcheckers
PORTVERSION= 2.2.3
@@ -12,9 +8,9 @@ CATEGORIES= games
MASTER_SITES= http://arton.cunst.net/xcheckers/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A checkers game for X11
+COMMENT= Checkers game for X11
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xpm
MAN6= xcheckers.6 simplech.6
diff --git a/games/xcubes/Makefile b/games/xcubes/Makefile
index b361413f0bbe..822ff42a9714 100644
--- a/games/xcubes/Makefile
+++ b/games/xcubes/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xcubes
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= xcubes
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Cube puzzle for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xcubes.1
MANCOMPRESSED= no
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile
index dda16f331f1d..85f2136ac5f5 100644
--- a/games/xdeblock/Makefile
+++ b/games/xdeblock/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xdeblock
-# Date created: 28 December 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= xdeblock
PORTVERSION= 1.0
@@ -17,7 +13,7 @@ COMMENT= Block action game
WRKSRC= ${WRKDIR}/xdeblo_v1.0
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm
NO_INSTALL_MANPAGES= yes
diff --git a/games/xdemineur/Makefile b/games/xdemineur/Makefile
index e5de4bd3db52..1acab04a792d 100644
--- a/games/xdemineur/Makefile
+++ b/games/xdemineur/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xdemineur
-# Date created: 13 Feb 1998
-# Whom: Thomas Gellekum <tg@FreeBSD.org>
-#
+# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= xdemineur
PORTVERSION= 2.1.1
@@ -16,7 +12,7 @@ MASTER_SITE_SUBDIR= games
MAINTAINER= ports@FreeBSD.org
COMMENT= Another minesweeper game for the X Window System
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm
MAN1= xdemineur.1
PLIST_FILES= bin/xdemineur
diff --git a/games/xdigger/Makefile b/games/xdigger/Makefile
index 8f7ef00fd89c..5cd201e33006 100644
--- a/games/xdigger/Makefile
+++ b/games/xdigger/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xdigger
-# Date created: 29 June 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xdigger
PORTVERSION= 1.0.10
@@ -16,10 +12,12 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Boulderdash-like KC85 Digger for X Window System
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN6= xdigger.6
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/configure.h
@@ -28,7 +26,7 @@ post-install:
@${CHOWN} root:games ${PREFIX}/bin/xdigger
@${CHMOD} 664 ${PREFIX}/share/xdigger/xdigger.hiscore
@${CHOWN} root:games ${PREFIX}/share/xdigger/xdigger.hiscore
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
diff --git a/games/xdino/Makefile b/games/xdino/Makefile
index d6143f482b4c..33e6af676d4e 100644
--- a/games/xdino/Makefile
+++ b/games/xdino/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xdino
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= xdino
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Dino puzzle game for X11
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xdino.1
MANCOMPRESSED= no
diff --git a/games/xhexagons/Makefile b/games/xhexagons/Makefile
index 8a1adf95c1ae..e7b290c4ba06 100644
--- a/games/xhexagons/Makefile
+++ b/games/xhexagons/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xhexagons
-# Date created: 20 May 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xhexagons
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Hexagons puzzle (similar to Fifteen Puzzle) for X Window System
WRKSRC= ${WRKDIR}/xhexagons
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xhexagons.1
XFREE86_HTML_MAN= no
diff --git a/games/xhime/Makefile b/games/xhime/Makefile
index e9bd9659deba..fb43b51124ea 100644
--- a/games/xhime/Makefile
+++ b/games/xhime/Makefile
@@ -1,9 +1,5 @@
-# ports collection makefile for: xhime
-# Date created: 25 August 1998
-# Whom: Seiichirou Hiraoka
-#
+# Created by: Seiichirou Hiraoka
# $FreeBSD$
-#
PORTNAME= xhime
PORTVERSION= 1.51
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Resident Himechan for X Window System
WRKSRC= ${WRKDIR}/xhime1.51
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MANCOMPRESSED= yes
MANLANG= . ja
@@ -24,7 +20,7 @@ MAN6= xhime.6
NO_CDROM= 'contains commercial character data'
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
post-install:
${STRIP_CMD} ${PREFIX}/bin/xhime
@@ -32,7 +28,7 @@ post-install:
${PREFIX}/man/ja/man6
${MV} ${PREFIX}/man/ja/man6/xhime-man.euc ${PREFIX}/man/ja/man6/xhime.6
${GZIP_CMD} ${PREFIX}/man/ja/man6/xhime.6
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${PREFIX}/share/doc/ja/xhime
@(cd ${WRKSRC};\
${INSTALL_DATA} xhime-doc.euc xhime.doc rh110-doc.euc \
@@ -40,4 +36,4 @@ post-install:
)
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/xisola/Makefile b/games/xisola/Makefile
index 8e0e9246ee63..75e3f2b3a84d 100644
--- a/games/xisola/Makefile
+++ b/games/xisola/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xisola
-# Date created: 9 May 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xisola
PORTVERSION= 1.0
@@ -16,12 +12,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple board game for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xaw xmu xt sm ice
NO_INSTALL_MANPAGES= yes
+.include <bsd.port.options.mk>
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
diff --git a/games/xkobo/Makefile b/games/xkobo/Makefile
index 24b6f54aa3c0..10e71aa5d3c4 100644
--- a/games/xkobo/Makefile
+++ b/games/xkobo/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xkobo
-# Date created: 18 Jul 1995
-# Whom: jkh
-#
+# Created by: jkh
# $FreeBSD$
-#
PORTNAME= xkobo
PORTVERSION= 1.11
@@ -16,15 +12,13 @@ MASTER_SITE_SUBDIR= games
MAINTAINER= will@FreeBSD.org
COMMENT= Multi-way scrolling shoot 'em up game for X. Strangely addictive
-USE_IMAKE= yes
+BROKEN= Does not build both with gcc and clang
+
+USES= imake
USE_XORG= x11 xext
ALL_TARGET= xkobo
MAN1= xkobo.1
-post-configure:
- ${REINPLACE_CMD} -E -e 's,^.* CC = .*$$, CC=${CC},' \
- -e 's,^.* CXX = .*$$, CXX=${CXX},' ${WRKSRC}/Makefile
-
post-install:
${CHMOD} u-s,g+s ${PREFIX}/bin/xkobo
${CHOWN} root:games ${PREFIX}/bin/xkobo ${PREFIX}/lib/X11/xkobo-scores
diff --git a/games/xkoules/Makefile b/games/xkoules/Makefile
index 6d1415ea8c2a..02114fd988f6 100644
--- a/games/xkoules/Makefile
+++ b/games/xkoules/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xkoules
-# Date created: 11 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xkoules
PORTVERSION= 1.4
@@ -17,16 +13,18 @@ EXTRACT_SUFX= -src.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast action arcade-style game for X Window
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN6= xkoules.6
MAKE_JOBS_UNSAFE= yes
+.include <bsd.port.options.mk>
+
post-extract:
@${CP} ${WRKSRC}/xkoules.6 ${WRKSRC}/xkoules.man
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ANNOUNCE BUGS Card ChangeLog Koules.FAQ TODO
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
diff --git a/games/xlaby/Makefile b/games/xlaby/Makefile
index 033e01a405b9..0ef30b8b1084 100644
--- a/games/xlaby/Makefile
+++ b/games/xlaby/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xlaby
-# Date created: 3 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xlaby
PORTVERSION= 2.0.1
@@ -18,7 +14,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Daemonic X Labyrinth played directly with the mouse pointer
NO_WRKSUBDIR= yes
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11
MAN6= xlaby.6
PLIST_FILES= bin/xlaby
diff --git a/games/xmball/Makefile b/games/xmball/Makefile
index 5a669dde2839..4b1cde5182f3 100644
--- a/games/xmball/Makefile
+++ b/games/xmball/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xmball
-# Date created: 21 May 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xmball
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Masterball puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xmball.1
MANCOMPRESSED= no
diff --git a/games/xmemory/Makefile b/games/xmemory/Makefile
index f26f4c305535..dc5be45c9803 100644
--- a/games/xmemory/Makefile
+++ b/games/xmemory/Makefile
@@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-player memory game
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN1= xmemory.1
diff --git a/games/xminesweep/Makefile b/games/xminesweep/Makefile
index ccccd1a70bcb..b08c5e86cf1e 100644
--- a/games/xminesweep/Makefile
+++ b/games/xminesweep/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xminesweep
-# Date created: 31 Januar 1995
-# Whom: janek
-#
+# Created by: janek
# $FreeBSD$
-#
PORTNAME= xminesweep
PORTVERSION= 3.0
@@ -19,7 +15,7 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= X11 minesweeper game
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xmu xaw xt xpm sm ice
MAN1= xminesweep.1
PLIST_FILES= bin/xminesweep
diff --git a/games/xmlink/Makefile b/games/xmlink/Makefile
index e97bf31e2228..0553c229ad50 100644
--- a/games/xmlink/Makefile
+++ b/games/xmlink/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xmlink
-# Date created: 19 May 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xmlink
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Missing Link puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xmlink.1
MANCOMPRESSED= no
diff --git a/games/xmris/Makefile b/games/xmris/Makefile
index 4d2bbcaa7508..ed296c002a35 100644
--- a/games/xmris/Makefile
+++ b/games/xmris/Makefile
@@ -1,7 +1,4 @@
-# New ports collection makefile for: xmris
-# Date created: 21 September 1994
-# Whom: jmz
-#
+# Created by: jmz
# $FreeBSD$
PORTNAME= xmris
@@ -16,7 +13,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A version of the Mr Do video arcade game for X11
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xaw xmu xt sm ice
MAKE_FLAGS= XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f
ALL_TARGET= xmris xmred
diff --git a/games/xmulti/Makefile b/games/xmulti/Makefile
index 4c6221ec8800..a71d071cf910 100644
--- a/games/xmulti/Makefile
+++ b/games/xmulti/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xmulti
-# Date created: 4 Jun 1998
-# Whom: Toru YANO <toru@s-fine.co.jp>
-#
+# Created by: Toru YANO <toru@s-fine.co.jp>
# $FreeBSD$
-#
PORTNAME= xmulti
PORTVERSION= 2.00b4
@@ -13,19 +9,21 @@ MASTER_SITES= http://www.denpa.org/~go/xmulti/
DISTFILES= xmul200b4.tgz
MAINTAINER= toru@tenchi.ne.jp
-COMMENT= A X11 mascot based on gal-game "To Heart"
+COMMENT= X11 mascot based on gal-game "To Heart"
WRKSRC= ${WRKDIR}/xmulti200beta4
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xaw xmu xt xpm sm ice
MAN1= xmaid.1
NO_MANCOMPRESS= yes
DOCSDIR= ${PREFIX}/share/doc/ja/{PORTNAME}
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for i in MODULE.jp README.jp STYLESHEET.jp XMULTI.jp
${INSTALL_MAN} ${WRKSRC}/$i ${DOCSDIR}
diff --git a/games/xoct/Makefile b/games/xoct/Makefile
index c0559b8ccb9c..9227f5658654 100644
--- a/games/xoct/Makefile
+++ b/games/xoct/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xoct
-# Date created: 28 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xoct
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Oct puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xoct.1
MANCOMPRESSED= no
diff --git a/games/xoids/Makefile b/games/xoids/Makefile
index e4ae70222067..723b2d6dae22 100644
--- a/games/xoids/Makefile
+++ b/games/xoids/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xoids
-# Date created: 16 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xoids
PORTVERSION= 1.5
@@ -15,7 +11,7 @@ MASTER_SITE_SUBDIR= games
MAINTAINER= ports@FreeBSD.org
COMMENT= X Window Asteroids style game with full color pixmaps
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm
MAN6= xoids.6
@@ -23,7 +19,7 @@ post-extract:
@${CP} ${WRKSRC}/xoids.1x ${WRKSRC}/xoids.man
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
diff --git a/games/xoj/Makefile b/games/xoj/Makefile
index 4b5fce6a65a2..6a06373414fd 100644
--- a/games/xoj/Makefile
+++ b/games/xoj/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xoj
-# Date created: 30 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xoj
PORTVERSION= 1.0
@@ -16,8 +12,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= O. J. Simpson Simulator root window demo
+USES= imake
USE_XORG= xaw
-USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
PLIST_FILES= bin/xoj
diff --git a/games/xonix/Makefile b/games/xonix/Makefile
index 5d76f19c7b7d..444b73ebad42 100644
--- a/games/xonix/Makefile
+++ b/games/xonix/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xonix
-# Date created: 3 May 1995
-# Whom: joerg
-#
+# Created by: joerg
# $FreeBSD$
-#
PORTNAME= xonix
PORTVERSION= 1.4
@@ -14,7 +10,7 @@ MASTER_SITES= ftp://ftp.interface-business.de/pub/outgoing/
MAINTAINER= joerg@FreeBSD.org
COMMENT= Try to win land without colliding with `flyers' and `eaters'
-USE_IMAKE= yes
+USES= imake
USE_XORG= xaw
MAN1= xonix.1
diff --git a/games/xpacman/Makefile b/games/xpacman/Makefile
index a19e2fb88f6a..8c50bbdc8b4d 100644
--- a/games/xpacman/Makefile
+++ b/games/xpacman/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xpacman
-# Date created: 19 Aug 1995
-# Whom: joerg
-#
+# Created by: joerg
# $FreeBSD$
-#
PORTNAME= xpacman
PORTVERSION= 1.0
@@ -13,11 +9,11 @@ MASTER_SITES= ftp://ftp.nvg.unit.no/pub/pacman/
DISTNAME= pacman10
MAINTAINER= joerg@FreeBSD.org
-COMMENT= An old action game
+COMMENT= Old action game
NO_WRKSUBDIR= Does not unpack into subdir.
USE_ZIP= yes
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN1= pacman.1
PLIST_FILES= bin/pacman
diff --git a/games/xpanex/Makefile b/games/xpanex/Makefile
index 2869bf6032d0..ed816ebdda5c 100644
--- a/games/xpanex/Makefile
+++ b/games/xpanex/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xpanex
-# Date created: 27 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xpanex
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Panex puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xpanex.1
MANCOMPRESSED= no
diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile
index a0fd765ab6fa..af33669f5ad3 100644
--- a/games/xpat2/Makefile
+++ b/games/xpat2/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xpat2
-# Date created: 5 March 1997
-# Whom: Matthew Hunt <mph@pobox.com>
-#
+# Created by: Matthew Hunt <mph@pobox.com>
# $FreeBSD$
-#
PORTNAME= xpat2
PORTVERSION= 1.07
@@ -15,9 +11,9 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
MAINTAINER= ports@FreeBSD.org
-COMMENT= An X11 solitaire game with 14 variations
+COMMENT= X11 solitaire game with 14 variations
-USE_IMAKE= yes
+USES= imake
USE_XORG= xaw
MAN6= xpat2.6
MANCOMPRESSED= no
diff --git a/games/xpyraminx/Makefile b/games/xpyraminx/Makefile
index be21d8eb876f..79180d22fb67 100644
--- a/games/xpyraminx/Makefile
+++ b/games/xpyraminx/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xpyraminx
-# Date created: 26 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xpyraminx
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Pyraminx puzzle for X Window System
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xpyraminx.1
MANCOMPRESSED= no
diff --git a/games/xrobots/Makefile b/games/xrobots/Makefile
index a895cb7b3cdc..df8e4807bc6d 100644
--- a/games/xrobots/Makefile
+++ b/games/xrobots/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xrobots
-# Date created: 2 Jan 1995
-# Whom: swallace
-#
+# Created by: swallace
# $FreeBSD$
-#
PORTNAME= xrobots
PORTVERSION= 1.0
@@ -15,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-ss-10.20
MAINTAINER= edwin@mavetju.org
COMMENT= Fight off villainous robots (X version)
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xaw xext xmu xt sm ice
WRKSRC= ${WRKDIR}/xrobots-1.0
MAN6= xrobots.6
diff --git a/games/xrot/Makefile b/games/xrot/Makefile
index e44f42c502a3..8b5a237b8740 100644
--- a/games/xrot/Makefile
+++ b/games/xrot/Makefile
@@ -18,7 +18,7 @@ COMMENT= Falling ball puzzle game for X
WRKSRC= ${WRKDIR}/xrot
-USE_IMAKE= yes
+USES= imake
USE_XORG= xpm
ALL_TARGET= xrot
CFLAGS+= -Wno-return-type
diff --git a/games/xskewb/Makefile b/games/xskewb/Makefile
index 4d5a9040ae8d..cd15c9bbcf6f 100644
--- a/games/xskewb/Makefile
+++ b/games/xskewb/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xskewb
-# Date created: 25 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xskewb
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Skewb puzzle (similar to Rubik's Cube) for X Window
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xskewb.1
MANCOMPRESSED= no
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
index 71f9b77b21e5..14df80a93e8a 100644
--- a/games/xsokoban/Makefile
+++ b/games/xsokoban/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xsokoban
-# Date created: 16 November 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= xsokoban
PORTVERSION= 3.3c
@@ -13,17 +9,16 @@ MASTER_SITES= http://www.cs.cornell.edu/andru/release/ \
ftp://ftp.pmg.lcs.mit.edu/pub/xsokoban/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A puzzle of pushing objects to the goals
+COMMENT= Puzzle of pushing objects to the goals
-USE_IMAKE= yes
-USE_PERL5_BUILD=yes
+USES= imake
USE_XORG= xpm
WRKSRC= ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban
MAN1= xsokoban.1
post-patch:
- @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
post-install:
@${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \
diff --git a/games/xspacewarp/Makefile b/games/xspacewarp/Makefile
index c6769d9c758f..b9b2a4a28813 100644
--- a/games/xspacewarp/Makefile
+++ b/games/xspacewarp/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xspacewarp
-# Date created: 16 May 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xspacewarp
PORTVERSION= 1.2
@@ -15,7 +11,7 @@ MASTER_SITE_SUBDIR= games
MAINTAINER= ports@FreeBSD.org
COMMENT= Time Trek - like game for X Window System
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xaw xext xmu xt xpm sm ice
NO_INSTALL_MANPAGES= yes
diff --git a/games/xtic/Makefile b/games/xtic/Makefile
index de89209ebe4d..768d0b09d3ff 100644
--- a/games/xtic/Makefile
+++ b/games/xtic/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xtic
-# Date created: 22 June 1995
-# Whom: asami
-#
+# Created by: asami
# $FreeBSD$
-#
PORTNAME= xtic
PORTVERSION= 1.12
@@ -14,9 +10,9 @@ MASTER_SITE_SUBDIR= games
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An X version of a simple but tricky board game
+COMMENT= X version of a simple but tricky board game
-USE_IMAKE= yes
+USES= imake
USE_XORG= xaw
MAN1= xtic.1
PLIST_FILES= bin/xtic
diff --git a/games/xtriangles/Makefile b/games/xtriangles/Makefile
index 1bf8d7fd7e20..56b8f3c56bef 100644
--- a/games/xtriangles/Makefile
+++ b/games/xtriangles/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xtriangles
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
-#
+# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# $FreeBSD$
-#
PORTNAME= xtriangles
PORTVERSION= 5.5.2
@@ -16,7 +12,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Triangles puzzle
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext xt sm ice
MAN1= xtriangles.1
MANCOMPRESSED= no
diff --git a/games/xvier/Makefile b/games/xvier/Makefile
index 1da034ba77e2..981c5873c1b9 100644
--- a/games/xvier/Makefile
+++ b/games/xvier/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xvier
-# Date created: 17 March 1998
-# Whom: Andrey Zakhvatov
-#
+# Created by: Andrey Zakhvatov
# $FreeBSD$
-#
PORTNAME= xvier
PORTVERSION= 1.0
@@ -18,12 +14,14 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Throw stones into free columns
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xext
MAN6= xvier.6
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
diff --git a/games/yamsweeper/Makefile b/games/yamsweeper/Makefile
index b16f57a18db8..eb4d4a436208 100644
--- a/games/yamsweeper/Makefile
+++ b/games/yamsweeper/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: yamsweeper
-# Date created: 14 Sep 1996
-# Whom: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
-#
+# Created by: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
# $FreeBSD$
-#
PORTNAME= yamsweeper
PORTVERSION= 1.9
@@ -21,7 +17,7 @@ EXTRACT_SUFX= .taz
MAINTAINER= ports@FreeBSD.org
COMMENT= Yet Another Mine Sweeper
-USE_IMAKE= yes
+USES= imake
USE_XORG= x11 xaw xext xmu xt xpm sm ice
MAN1= yamsweeper.1