1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

1. Moved kdemultimedia3 to multimedia category.

2. Changed perl replace to USE_REINPLACE/REINPLACE_CMD.
This commit is contained in:
Alan Eldridge 2002-12-09 00:36:54 +00:00
parent ba23e5ff2b
commit 68140d5099
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71452

View File

@ -14,7 +14,7 @@ DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
LIB_DEPENDS+= noatun.0:${PORTSDIR}/audio/kdemultimedia3 \
LIB_DEPENDS+= noatun.0:${PORTSDIR}/multimedia/kdemultimedia3 \
SDL-1.1.4:${PORTSDIR}/devel/sdl12
WITH_SDL= yes
@ -22,6 +22,7 @@ USE_KDEBASE_VER=3
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
PLIST_SUB+= RM=${RM}
SDL_CONFIG= sdl11-config
CONFIGURE_ENV+= SDL_CONFIG="${LOCALBASE}/bin/${SDL_CONFIG}"
@ -30,9 +31,7 @@ CONFIGURE_ENV+= SDL_CONFIG="${LOCALBASE}/bin/${SDL_CONFIG}"
pre-configure:
${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l sdl-config \
| ${XARGS} ${PERL} -pi -e "s@sdl-config@${SDL_CONFIG}@g"
| ${XARGS} ${REINPLACE_CMD} -e "s@sdl-config@${SDL_CONFIG}@g"
${FIND} ${WRKSRC} | ${XARGS} touch
.include <bsd.port.pre.mk>
.include <bsd.port.post.mk>
.include <bsd.port.mk>