1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/audio/flac/Makefile
FUJISHIMA Satsuki f50d960c25 o add xmms plugin to pkg-plist in case of WITH_XMMS.
o NO_PORTDOCS -> NOPORTDOCS

Approved by:	maintainer
2001-06-10 14:03:01 +00:00

51 lines
1.1 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: flac
# Date created: Mar 18, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flac
PORTVERSION= 0.10
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
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"
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
.endif
USE_LIBTOOL= yes
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
INSTALLS_SHLIB= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/flac
${MKDIR} ${PREFIX}/share/doc/flac/images
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/flac
.for file in 1x1.gif cafebug.gif logo.jpg
${INSTALL_DATA} ${WRKSRC}/doc/images/${file} ${PREFIX}/share/doc/flac/images
.endfor
.endif
.include <bsd.port.mk>