diff options
author | sf <sf@FreeBSD.org> | 2001-06-10 22:03:01 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-10 22:03:01 +0800 |
commit | 09ff19fdb6109d380bd0dfa0a492cfaf52e3b995 (patch) | |
tree | db5ea24666ff994a88ab0a993c06ab0f28e5766d | |
parent | ef18d3218f355fd6cbb60c031bca6da87d7bce68 (diff) | |
download | freebsd-ports-gnome-09ff19fdb6109d380bd0dfa0a492cfaf52e3b995.tar.gz freebsd-ports-gnome-09ff19fdb6109d380bd0dfa0a492cfaf52e3b995.tar.zst freebsd-ports-gnome-09ff19fdb6109d380bd0dfa0a492cfaf52e3b995.zip |
o add xmms plugin to pkg-plist in case of WITH_XMMS.
o NO_PORTDOCS -> NOPORTDOCS
Approved by: maintainer
-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 63a11e96b94e..9e3fddfdb997 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 5a54d9bd06b1..debd14c6a85f 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 |