mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Fix path in postinstall.sh.
PR: ports/35946 Submitted by: lmattao@terra.com.br
This commit is contained in:
parent
27f96357e1
commit
0974a1a7fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79305
1 changed files with 6 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= linux-realplayer
|
PORTNAME= linux-realplayer
|
||||||
PORTVERSION= 8.cs2
|
PORTVERSION= 8.cs2
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= multimedia audio linux
|
CATEGORIES= multimedia audio linux
|
||||||
MASTER_SITES= http://docs.real.com/docs/playerpatch/unix/:update
|
MASTER_SITES= http://docs.real.com/docs/playerpatch/unix/:update
|
||||||
DISTFILES= ${MAINDIST} ${UPDATEDIST:S/$/: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.
|
${DISTDIR} and then restart this build.
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
NO_CDROM= "Redistribution not allowed"
|
NO_CDROM= "Redistribution not allowed"
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
@ -49,6 +50,10 @@ NO_BUILD= yes
|
||||||
post-extract:
|
post-extract:
|
||||||
cd ${WRKDIR}; rpm2cpio ${DISTDIR}/${MAINDIST} | cpio -id --quiet
|
cd ${WRKDIR}; rpm2cpio ${DISTDIR}/${MAINDIST} | cpio -id --quiet
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} -e \
|
||||||
|
"s@/usr/lib@${PREFIX}/lib@" ${WRKSRC}/postinstall.sh
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${RADIR}
|
${MKDIR} ${RADIR}
|
||||||
.for f in mimeinstall.sh pluginstall.sh postinstall.sh
|
.for f in mimeinstall.sh pluginstall.sh postinstall.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue