mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
o add xmms plugin to pkg-plist in case of WITH_XMMS.
o NO_PORTDOCS -> NOPORTDOCS Approved by: maintainer
This commit is contained in:
parent
88900b7927
commit
f50d960c25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43761
2 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
PORTNAME= flac
|
||||
PORTVERSION= 0.10
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
@ -18,6 +19,9 @@ MAINTAINER= naddy@mips.inka.de
|
|||
.if defined(WITH_XMMS)
|
||||
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/audio/xmms
|
||||
LIB_DEPENDS+= xmms.1:${PORTSDIR}/audio/xmms
|
||||
PLIST_SUB= XMMS=""
|
||||
.else
|
||||
PLIST_SUB= XMMS="@comment "
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
|
@ -34,7 +38,7 @@ USE_GMAKE= yes
|
|||
INSTALLS_SHLIB= yes
|
||||
|
||||
post-install:
|
||||
.if !defined(NO_PORTDOCS)
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/flac
|
||||
${MKDIR} ${PREFIX}/share/doc/flac/images
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
|
||||
|
|
|
@ -19,3 +19,5 @@ lib/libFLAC.so.0
|
|||
%%PORTDOCS%%share/doc/flac/images/logo.jpg
|
||||
%%PORTDOCS%%@dirrm share/doc/flac/images
|
||||
%%PORTDOCS%%@dirrm share/doc/flac
|
||||
%%XMMS%%@cwd %%X11BASE%%
|
||||
%%XMMS%%lib/xmms/Input/libxmms-flac.so
|
||||
|
|
Loading…
Add table
Reference in a new issue