Fix path in postinstall.sh.

PR:		ports/35946
Submitted by:	lmattao@terra.com.br
This commit is contained in:
Munechika SUMIKAWA 2003-04-19 20:07:48 +00:00
parent 27f96357e1
commit 0974a1a7fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79305

View file

@ -7,7 +7,7 @@
PORTNAME= linux-realplayer
PORTVERSION= 8.cs2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia audio linux
MASTER_SITES= http://docs.real.com/docs/playerpatch/unix/:update
DISTFILES= ${MAINDIST} ${UPDATEDIST:S/$/:update/}
@ -42,6 +42,7 @@ IGNORE= may not be automatically fetched due to licensing\
${DISTDIR} and then restart this build.
.endif
USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
NO_CDROM= "Redistribution not allowed"
NO_BUILD= yes
@ -49,6 +50,10 @@ NO_BUILD= yes
post-extract:
cd ${WRKDIR}; rpm2cpio ${DISTDIR}/${MAINDIST} | cpio -id --quiet
post-patch:
${REINPLACE_CMD} -e \
"s@/usr/lib@${PREFIX}/lib@" ${WRKSRC}/postinstall.sh
do-install:
${MKDIR} ${RADIR}
.for f in mimeinstall.sh pluginstall.sh postinstall.sh