Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 23:54:13 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55498: Update port: games/amphetamine
Message-ID:  <20030812235413.6e0d9ebd.tkato@prontomail.com>
Resent-Message-ID: <200308121500.h7CF0USl028831@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         55498
>Category:       ports
>Synopsis:       Update port: games/amphetamine
>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:   Tue Aug 12 08:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Support CXX properly
- Utilize USE_SDL

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/amphetamine/Makefile games/amphetamine/Makefile
--- /usr/ports/games/amphetamine/Makefile	Tue Jul 29 21:32:03 2003
+++ games/amphetamine/Makefile	Tue Aug 12 20:46:43 2003
@@ -7,28 +7,25 @@
 
 PORTNAME=	amphetamine
 PORTVERSION=	0.8.10
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://www.dataway.ch/~lukasl/amph/files/
+MASTER_SITES=	http://n.ethz.ch/student/loehrerl/amph/files/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 		${PORTNAME}-data-${DATAVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A 2D - Jump'n'run shooter
 
-LIB_DEPENDS=  	SDL-1.1.5:${PORTSDIR}/devel/sdl12
-
-DATAVERSION=	0.8.6
-
-SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
-
+USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_XPM=	yes
-USE_BZIP2=	yes
+USE_SDL=	yes
 USE_GMAKE=	yes
-MAKE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
+
+DATAVERSION=	0.8.6
 
 post-install:
-	@(cd ${WRKDIR}/amph && ${TAR} -c -f - * ) \
-		| (cd ${PREFIX}/share/amph && ${TAR} --unlink -x -f -)
+	@cd ${WRKDIR}/amph && ${FIND} . | \
+		cpio -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/amph
 
 .include <bsd.port.mk>
diff -urN /usr/ports/games/amphetamine/files/patch-aa games/amphetamine/files/patch-aa
--- /usr/ports/games/amphetamine/files/patch-aa	Tue Sep 10 20:10:41 2002
+++ games/amphetamine/files/patch-aa	Sun Aug  3 22:15:19 2003
@@ -1,8 +1,8 @@
 
 $FreeBSD: ports/games/amphetamine/files/patch-aa,v 1.5 2002/07/02 11:59:57 sobomax Exp $
-
---- Makefile.orig	Mon Mar 25 21:11:27 2002
-+++ Makefile	Tue Jul  2 14:46:57 2002
+ 
+--- Makefile.orig	Tue Mar 26 04:11:27 2002
++++ Makefile	Sun Aug  3 22:14:39 2003
 @@ -3,13 +3,13 @@
  #===============
  
@@ -20,7 +20,7 @@
  SDL_HEADERS := $(shell $(SDL_CONFIG) --cflags)
  SDL_LIBS := $(shell $(SDL_CONFIG) --libs)
  
-@@ -22,7 +22,7 @@
+@@ -22,23 +22,23 @@
  
  # Directories to search for header files
  
@@ -29,7 +29,11 @@
  
  # makemake variables
  
-@@ -32,13 +32,13 @@
+-LINKER       := g++
+-DEPENDFLAGS  := -g  ${SEARCHDIRS}
++LINKER       := ${CXX}
++DEPENDFLAGS  := ${SEARCHDIRS}
+ TOUCHHEADERS := ${MYCODEDIR}/*.h
  
  # C
  
diff -urN /usr/ports/games/amphetamine/pkg-descr games/amphetamine/pkg-descr
--- /usr/ports/games/amphetamine/pkg-descr	Mon Jun  5 21:00:18 2000
+++ games/amphetamine/pkg-descr	Sun Aug  3 22:04:50 2003
@@ -11,5 +11,4 @@
  o Raging fights against 11 bloodsucking monsters which themselves have several
    killing powers.
 
-WWW: http://n.ethz.ch/student/spjonas/
-     http://www.dataway.ch/~lukasl/amph/amph.html
+WWW: http://n.ethz.ch/student/loehrerl/amph/amph.html
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030812235413.6e0d9ebd.tkato>