2005-03-08 07:57:21 +00:00
|
|
|
# New ports collection makefile for: alac
|
|
|
|
# Date created: 2005-03-08
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= alac
|
2006-10-31 00:18:09 +00:00
|
|
|
PORTVERSION= 0.1.3
|
2008-07-10 18:42:13 +00:00
|
|
|
PORTREVISION= 1
|
2005-03-08 07:57:21 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://crazney.net/programs/itunes/files/
|
|
|
|
DISTNAME= ${PORTNAME}_decoder-${PORTVERSION}
|
|
|
|
|
2006-06-09 18:00:35 +00:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2005-03-08 07:57:21 +00:00
|
|
|
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/
|
2008-07-10 18:42:13 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2005-03-08 07:57:21 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2007-04-16 03:34:03 +00:00
|
|
|
.include <bsd.port.mk>
|