1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix a dependency, do some cleaning, and unbreak.

PR:		ports/72002
Submitted by:	maintainer
Approved by:	portmgr (marcus).
This commit is contained in:
Thierry Thomas 2004-09-24 20:10:31 +00:00
parent 3f893dd28b
commit 92192c4cd9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118378
2 changed files with 6 additions and 23 deletions

View File

@ -14,28 +14,25 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ip@doom.homeunix.org
COMMENT= An enhanced Doom, Heretic and Hexen source port
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= ${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity
BROKEN= Missing dependency
USE_REINPLACE= yes
REINPLACE_ARGS= -i ""
GNU_CONFIGURE= yes
USE_LIBTOOL_VER= 15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include -I${X11BASE}/include" \
CPPFLAGS="`${SDL_CONFIG} --cflags` -I${LOCALBASE}/include -I${X11BASE}/include"
USE_SDL= sdl mixer net
USE_GL= yes
INSTALLS_SHLIB= yes
NOT_FOR_ARCHS= amd64
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libopenal.so.0)
.if exists(${LOCALBASE}/lib/libopenal.so.0) || defined(WITH_OPENAL)
WITH_OPENAL= yes
BUILD_DEPENDS= ${LOCALBASE}/lib/libopenal.so.0:${PORTSDIR}/audio/openal
RUN_DEPENDS= ${LOCALBASE}/lib/libopenal.so.0:${PORTSDIR}/audio/openal
LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
.endif
.if !defined(WITH_OPENAL)
@ -69,4 +66,4 @@ post-install:
@(${SED} -e 's|%%PREFIX%%|${PREFIX}|; s|%%DOCSDIR%%|${DOCSDIR}|' \
<pkg-message >${PKGMESSAGE} && ${CAT} ${PKGMESSAGE})
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,34 +1,20 @@
bin/doomsday
lib/libdpdehread.a
lib/libdpdehread.la
lib/libdpdehread.so
lib/libdpdehread.so.0
lib/libdpmapload.a
lib/libdpmapload.la
lib/libdpmapload.so
lib/libdpmapload.so.0
lib/libdropengl.a
lib/libdropengl.la
lib/libdropengl.so
lib/libdropengl.so.0
%%WITH_OPENAL%%lib/libdsopenal.a
%%WITH_OPENAL%%lib/libdsopenal.la
%%WITH_OPENAL%%lib/libdsopenal.so
%%WITH_OPENAL%%lib/libdsopenal.so.0
lib/libdssdlmixer.a
lib/libdssdlmixer.la
lib/libdssdlmixer.so
lib/libdssdlmixer.so.0
lib/libjdoom.a
lib/libjdoom.la
lib/libjdoom.so
lib/libjdoom.so.0
lib/libjheretic.a
lib/libjheretic.la
lib/libjheretic.so
lib/libjheretic.so.0
lib/libjhexen.a
lib/libjhexen.la
lib/libjhexen.so
lib/libjhexen.so.0
%%DATADIR%%/Data/Doomsday.wad