diff options
author | sf <sf@FreeBSD.org> | 2001-06-10 14:03:01 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-10 14:03:01 +0000 |
commit | 09ff19fdb6109d380bd0dfa0a492cfaf52e3b995 (patch) | |
tree | db5ea24666ff994a88ab0a993c06ab0f28e5766d /audio | |
parent | ef18d3218f355fd6cbb60c031bca6da87d7bce68 (diff) | |
download | FreeBSD-ports-09ff19fdb6109d380bd0dfa0a492cfaf52e3b995.zip FreeBSD-ports-09ff19fdb6109d380bd0dfa0a492cfaf52e3b995.tar.gz |
o add xmms plugin to pkg-plist in case of WITH_XMMS.
o NO_PORTDOCS -> NOPORTDOCS
Approved by: maintainer
Diffstat (limited to 'audio')
-rw-r--r-- | audio/flac/Makefile | 6 | ||||
-rw-r--r-- | audio/flac/pkg-plist | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/audio/flac/Makefile b/audio/flac/Makefile index 63a11e9..9e3fddf 100644 --- a/audio/flac/Makefile +++ b/audio/flac/Makefile @@ -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 diff --git a/audio/flac/pkg-plist b/audio/flac/pkg-plist index 5a54d9b..debd14c 100644 --- a/audio/flac/pkg-plist +++ b/audio/flac/pkg-plist @@ -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 |