mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Remove extra symlink to ${PREFIX}(/usr/local)/linux-mozilla/plugins.
Submitted by: mezz
This commit is contained in:
parent
4ecd3b6101
commit
7125d1b2f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110928
@ -25,20 +25,14 @@ NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/install_flash_player_7_linux
|
||||
LATEST_LINK= flash7
|
||||
|
||||
PLUGINSDIR= lib/linux-mozilla/plugins
|
||||
LIBFILES= libflashplayer.so flashplayer.xpt
|
||||
|
||||
DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME}
|
||||
|
||||
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/linux-flashplugin7
|
||||
.for f in ${LIBFILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin7
|
||||
.if exists(${PLUGINSDIR})
|
||||
@${LN} -sf ${PREFIX}/lib/linux-flashplugin7/${f} ${PREFIX}/${PLUGINSDIR}
|
||||
.endif
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
@ -3,5 +3,4 @@ lib/linux-flashplugin7/libflashplayer.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Readme.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Readme.htm
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@unexec rm -f %D/%%PLUGINSDIR%%/flashplayer.xpt %D/%%PLUGINSDIR%%/libflashplayer.so
|
||||
@dirrm lib/linux-flashplugin7
|
||||
|
@ -25,20 +25,14 @@ NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/install_flash_player_7_linux
|
||||
LATEST_LINK= flash7
|
||||
|
||||
PLUGINSDIR= lib/linux-mozilla/plugins
|
||||
LIBFILES= libflashplayer.so flashplayer.xpt
|
||||
|
||||
DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME}
|
||||
|
||||
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}"
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/lib/linux-flashplugin7
|
||||
.for f in ${LIBFILES}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin7
|
||||
.if exists(${PLUGINSDIR})
|
||||
@${LN} -sf ${PREFIX}/lib/linux-flashplugin7/${f} ${PREFIX}/${PLUGINSDIR}
|
||||
.endif
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
@ -3,5 +3,4 @@ lib/linux-flashplugin7/libflashplayer.so
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Readme.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Readme.htm
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@unexec rm -f %D/%%PLUGINSDIR%%/flashplayer.xpt %D/%%PLUGINSDIR%%/libflashplayer.so
|
||||
@dirrm lib/linux-flashplugin7
|
||||
|
Loading…
Reference in New Issue
Block a user