mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
5bff8e7bfd
[patch] audio/grip - cleanup non-supported FreeBSD versions [patch] audio/jack - cleanup non-supported FreeBSD versions [patch] audio/libcddb - cleanup non-supported FreeBSD versions PR: ports/111646, ports/111660, ports/111662, ports/111668 Submitted by: Edwin Groothuis <edwin@mavetju.org> Appproved by: Michael Johnson <ahze@>
39 lines
862 B
Makefile
39 lines
862 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
|
|
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(WITHOUT_PORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|