summaryrefslogtreecommitdiffstats
path: root/games/xtron/Makefile
diff options
context:
space:
mode:
authormharo <mharo@FreeBSD.org>2000-04-02 01:00:24 +0000
committermharo <mharo@FreeBSD.org>2000-04-02 01:00:24 +0000
commitd6dca242be4c3ffc4cb11bccc8226000d08b8de0 (patch)
tree243714e8b0e8504368d58d81c3c431e9a2ef2533 /games/xtron/Makefile
parentf8facd78314b70d65c255b6702a5c1ddabdd19ea (diff)
downloadFreeBSD-ports-d6dca242be4c3ffc4cb11bccc8226000d08b8de0.zip
FreeBSD-ports-d6dca242be4c3ffc4cb11bccc8226000d08b8de0.tar.gz
***
games/affenspiel - Support CC properly *** games/battalion - Support PREFIX properly *** games/block - Support CC/CFLAGS properly *** games/blue - Support CC/CFLAGS properly - Add WWW: line into pkg/DESCR New file: patches/patch-aa *** games/bs - Add WWW: line into pkg/DESCR *** games/columns - Support CXXFLAGS properly - Support sdl-config *** games/empire - Exclude GPL doc from package - Add WWW: line into pkg/DESCR *** games/freesweep to 0.87 - Update to version 0.87 *** games/galaxis - Support CC properly - Add WWW: line into pkg/DESCR *** games/garith - Support CC/CFLAGS properly - Support GTK_CONFIG *** games/gemdropx to 0.7 - Update to version 0.7 *** games/gtkballs - Exclude GPL doc from package - Support GTK_CONFIG *** games/icbm3d - Update WWW: line of pkg/DESCR *** games/mirrormagic - Support CC/X11BASE properly *** games/phalanx to 22 - Update to version 22 - Add WWW: line into pkg/DESCR *** games/spellcast - Update MASTER_SITES and WWW: line of pkg/DESCR - Support CFLAGS properly - Exclude GPL doc from package *** games/starlanes - Support CC properly - Exclude GPL doc from package *** games/xdigger to 1.0.10 - Update to version 1.0.10 New file: patches/patch-ad patches/patch-ae *** games/xtron - Support PREFIX properly - Exclude GPL doc from package *** games/xtruco - Support CC/CFLAGS/X11BASE properly *** games/xvier - Support X11BASE properly *** PR: 17741 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'games/xtron/Makefile')
-rw-r--r--games/xtron/Makefile34
1 files changed, 17 insertions, 17 deletions
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
index 447dfd1..f5875cb 100644
--- a/games/xtron/Makefile
+++ b/games/xtron/Makefile
@@ -6,30 +6,30 @@
# $FreeBSD$
#
-DISTNAME= xtron-1.1a
-CATEGORIES= games
-MASTER_SITES= ${MASTER_SITE_SUNSITE}
+DISTNAME= xtron-1.1a
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade
-EXTRACT_SUFX= .tgz
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-USE_X_PREFIX= yes
+USE_X_PREFIX= yes
-do-install:
- @ ${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin
- @ ${MKDIR} ${PREFIX}/share/xtron
- @ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
- @ ${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
- @ ${MKDIR} ${PREFIX}/share/doc/xtron
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin
+ @${MKDIR} ${PREFIX}/share/xtron
+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
+ ${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
.if !defined(NOPORTDOCS)
-post-install:
-.for file in CHANGES COPYING README
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xtron
-.endfor
+ @${MKDIR} ${PREFIX}/share/doc/xtron
+ ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/xtron
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xtron
.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud