aboutsummaryrefslogtreecommitdiff
path: root/audio/alac/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/alac/Makefile')
-rw-r--r--audio/alac/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/audio/alac/Makefile b/audio/alac/Makefile
index e6182b4451c3..840d599c2f64 100644
--- a/audio/alac/Makefile
+++ b/audio/alac/Makefile
@@ -12,29 +12,21 @@ MAINTAINER= multimedia@FreeBSD.org
COMMENT= Basic decoder for Apple Lossless Audio Codec files (ALAC)
WRKSRC= ${WRKDIR}/${PORTNAME}_decoder
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= alac
-NO_STAGE= yes
-OPTIONS_DEFINE= DOCS DEBUG
+OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/alac
PORTDOCS= README
.include <bsd.port.options.mk>
-post-patch:
-.if ! ${PORT_OPTIONS:MDEBUG}
- @${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/
+ ${INSTALL_PROGRAM} ${WRKSRC}/alac ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>