1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/alac/Makefile
Ion-Mihai Tetcu 774ae8a41d - s/WITHOUT_PORTDOCS/NOPORTDOCS/ to fix plist
- bump PORTREVISION

Prompted by:	QA Tindy run
Approved by:	maintainer timeout on BotMail
2008-07-10 18:42:13 +00:00

40 lines
872 B
Makefile

# New ports collection makefile for: alac
# Date created: 2005-03-08
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= alac
PORTVERSION= 0.1.3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://crazney.net/programs/itunes/files/
DISTNAME= ${PORTNAME}_decoder-${PORTVERSION}
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Basic decoder for Apple Lossless Audio Codec files (ALAC)
WRKSRC= ${WRKDIR}/${PORTNAME}_decoder
ALL_TARGET= alac
PLIST_FILES= bin/alac
PORTDOCS= README
post-patch:
.if !defined(WITH_DEBUG)
@${REINPLACE_CMD} -e 's|-ggdb||' \
${WRKSRC}/${MAKEFILE}
.endif
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O3|${CFLAGS}|' \
${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/alac ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>