Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2005 18:04:07 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/83881: [MAINTAINER UPDATE] games/freedroidrpg: clean up, minor fix
Message-ID:  <1121979847.0@phobos.mars.bsd>
Resent-Message-ID: <200507212110.j6LLACiu089499@freefall.freebsd.org>

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

>Number:         83881
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] games/freedroidrpg: clean up, minor fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 21 21:10:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:





>Description:


* Remove unnedded LIB_DEPENDS (already present in SDL components: image and mixer).
* Use CONFIGURE_ variables (instead of WRKSRC/configure).
* Add @ to REINPLACE_CMD (no echo).
* Change last line in pkg-plist to use %%DATADIR%%.


>How-To-Repeat:





>Fix:


--- freedroidrpg.diff begins here ---
diff -urN freedroidrpg.old/Makefile freedroidrpg/Makefile
--- freedroidrpg.old/Makefile	Thu Jul 21 17:00:12 2005
+++ freedroidrpg/Makefile	Thu Jul 21 17:07:32 2005
@@ -15,10 +15,6 @@
 MAINTAINER=	alejandro@varnet.biz
 COMMENT=	Modification of the classical Freedroid engine into an RPG
 
-LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		png:${PORTSDIR}/graphics/png \
-		vorbis.3:${PORTSDIR}/audio/libvorbis
-
 USE_XLIB=	yes
 USE_BZIP2=	yes
 USE_SDL=	mixer image net sdl
@@ -38,6 +34,7 @@
 .endif
 
 post-patch:
-	${REINPLACE_CMD} -e 's#-lSDL # #' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's#-lSDL # #' \
+				${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
 
 .include <bsd.port.post.mk>
diff -urN freedroidrpg.old/pkg-plist freedroidrpg/pkg-plist
--- freedroidrpg.old/pkg-plist	Thu Jul 21 17:00:12 2005
+++ freedroidrpg/pkg-plist	Thu Jul 21 17:06:52 2005
@@ -5584,4 +5584,4 @@
 @dirrm %%DATADIR%%/graphics/backgrounds
 @dirrm %%DATADIR%%/graphics
 @dirrm %%DATADIR%%/dialogs
-@dirrm share/freedroidrpg
+@dirrm %%DATADIR%%
--- freedroidrpg.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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