Date: Sun, 21 Jul 2013 02:51:17 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/180684: games/pmars-sdl: Update MASTER_SITES and WWW: line Message-ID: <20130721025117.adf64de8241c706fea121c71@yahoo.com> Resent-Message-ID: <201307201810.r6KIA1Cu098646@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180684 >Category: ports >Synopsis: games/pmars-sdl: Update MASTER_SITES and WWW: line >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 20 18:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p1 i386 >Organization: >Environment: >Description: - Update MASTER_SITES and WWW: line - Add LICENSE - Support STRIP properly Remove file: files/patch-Makefile >How-To-Repeat: >Fix: diff -urN /usr/ports/games/pmars-sdl/Makefile games/pmars-sdl/Makefile --- /usr/ports/games/pmars-sdl/Makefile 2013-06-21 03:48:59.000000000 +0900 +++ games/pmars-sdl/Makefile 2013-07-21 00:00:00.000000000 +0900 @@ -1,24 +1,18 @@ -# New ports collection makefile for: pmars-sdl -# Date created: 30 Jul 2005 -# Whom: Alejandro Pulver <alejandro@varnet.biz> -# +# Created by: Alejandro Pulver <alejandro@varnet.biz> # $FreeBSD: head/games/pmars-sdl/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= pmars PORTVERSION= 0.9.2 PORTREVISION= 5 CATEGORIES= games -MASTER_SITES= http://www.cs.helsinki.fi/u/jpihlaja/cw/pmars-sdl/ +MASTER_SITES= http://corewar.co.uk/pihlaja/pmars-sdl/ PKGNAMESUFFIX= -sdl DISTNAME= ${PORTNAME}-${PORTVERSION}-5 MAINTAINER= ports@FreeBSD.org COMMENT= Port of pMARS using the Simple Directmedia Library -USE_SDL= sdl - -WRKSRC= ${WRKDIR}/${DISTNAME}/src +LICENSE= GPLv2 # (or later) OPTIONS_DEFINE= ICWS94 OPTIMIZED_CFLAGS PERMUTATE SMALLMEM OPTIONS_DEFAULT= ICWS94 OPTIMIZED_CFLAGS PERMUTATE @@ -26,7 +20,10 @@ PERMUTATE_DESC= Enable the -P switch SMALLMEM_DESC= Use 16-bit addresses (smaller) -MAKE_ARGS+= CFLAGS+="${CFLAGS}" \ +WRKSRC= ${WRKDIR}/${DISTNAME}/src + +USE_SDL= sdl +MAKE_ARGS= CFLAGS+="${CFLAGS}" \ CFLAGS+="-fno-builtin" \ CFLAGS+="`${SDL_CONFIG} --cflags`" \ LIB+="`${SDL_CONFIG} --libs`" \ @@ -52,8 +49,16 @@ MAKE_ARGS+= CFLAGS+="-DSMALLMEM" .endif +post-patch: + @${REINPLACE_CMD} -e \ + 's|^CC|#CC| ; \ + s|^CFLAGS|#CFLAGS| ; \ + s|^LFLAGS|#LFLAGS| ; \ + s|@$$(CC)|$$(CC)| ; \ + /strip/d' ${WRKSRC}/${MAKEFILE} + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ - ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \ + ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}) .include <bsd.port.mk> diff -urN /usr/ports/games/pmars-sdl/files/patch-Makefile games/pmars-sdl/files/patch-Makefile --- /usr/ports/games/pmars-sdl/files/patch-Makefile 2013-06-21 03:48:59.000000000 +0900 +++ games/pmars-sdl/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 @@ -1,17 +0,0 @@ ---- Makefile.orig Thu May 1 10:09:46 2003 -+++ Makefile Mon Jul 18 09:49:02 2005 -@@ -1,5 +1,4 @@ - # generic UNIX makefile --CC = gcc # req. for linux - #CC = cc # if you don't have gcc - # Configuration options: - # -@@ -18,8 +17,6 @@ - # (8) -DSDLGRAPHX 1 SDL graphics (generic) - - #DBG = -g -W -Wall -pg --CFLAGS = -O4 -fomit-frame-pointer $(DBG) -DSERVER -DEXT94 -DPERMUTATE $(INC) --LFLAGS = -x - # LIB = -lcurses -ltermlib # enable this one for curses display - # LIB = -lvgagl -lvga # enable this one for Linux/SVGA - # LIB = -L/usr/X11R6/lib -lX11 # enable this one for X11 diff -urN /usr/ports/games/pmars-sdl/pkg-descr games/pmars-sdl/pkg-descr --- /usr/ports/games/pmars-sdl/pkg-descr 2013-06-21 03:48:59.000000000 +0900 +++ games/pmars-sdl/pkg-descr 2013-07-21 00:00:00.000000000 +0900 @@ -1,17 +1,17 @@ -Port of pMARS using the Simple Directmedia Library. Currently the port is in -beta testing stage testing and bug reports/feature requests are more than -welcome. The latest release is version 0.9.2-5. +Port of pMARS using the Simple Directmedia Library. Currently the port +is in beta testing stage testing and bug reports/feature requests are +more than welcome. Features/fixes: -* Environment sensitive. Now looks for macro files in the directory specified - by the environment variable PMARSHOME if they are not found in the current - directory. +* Environment sensitive. Now looks for macro files in the directory + specified by the environment variable PMARSHOME if they are not + found in the current directory. * Both Win32 and X11 supported. * Command line history using Shift-Up and Shift-Down keys. -* Rewrote text display and screen update routines for faster text panels (for - slow computers like mine.) -* BIG core cells for those tiny cores. (Choose a display mode larger than 2, - e.g. -v 134.) +* Rewrote text display and screen update routines for faster text + panels (for slow computers like mine.) +* BIG core cells for those tiny cores. (Choose a display mode larger + than 2, e.g. -v 134.) -WWW: http://www.cs.helsinki.fi/u/jpihlaja/cw/pmars-sdl/ +WWW: http://corewar.co.uk/pihlaja/pmars-sdl/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130721025117.adf64de8241c706fea121c71>