- 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%%.

PR:		ports/83881
Submitted by:	Alejandro Pulver <alejandro@varnet.biz> (maintainer)
This commit is contained in:
Jeremy Messenger 2005-07-25 07:35:28 +00:00
parent e4e5677161
commit aa0128de64
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140065
2 changed files with 3 additions and 6 deletions

View file

@ -15,10 +15,6 @@ DISTNAME= ${PORTNAME}-0.9.13-rc2
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 @@ BROKEN= "does not compile (missing fenv.h)"
.endif
post-patch:
${REINPLACE_CMD} -e 's#-lSDL # #' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's#-lSDL # #' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.post.mk>

View file

@ -5584,4 +5584,4 @@ bin/pngtoico
@dirrm %%DATADIR%%/graphics/backgrounds
@dirrm %%DATADIR%%/graphics
@dirrm %%DATADIR%%/dialogs
@dirrm share/freedroidrpg
@dirrm %%DATADIR%%