diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-14 14:46:57 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-06-14 14:46:57 +0000 |
commit | 631f6c17071b36a23e5a5e6863d79e6827f8a6f8 (patch) | |
tree | fcf9097d087e00c0c76409d5cee6a98abd2c6ffc /audio | |
parent | Use new helpers (diff) |
Trim headers
Convert WITH to options
Notes
Notes:
svn path=/head/; revision=320943
Diffstat (limited to 'audio')
-rw-r--r-- | audio/alac/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/alac/Makefile b/audio/alac/Makefile index e12212a440cc..d79c07c74ff3 100644 --- a/audio/alac/Makefile +++ b/audio/alac/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: alac -# Date created: 2005-03-08 -# Whom: Michael Johnson <ahze@FreeBSD.org> -# +# Created by: Michael Johnson <ahze@FreeBSD.org> # $FreeBSD$ -# PORTNAME= alac PORTVERSION= 0.2.0 @@ -18,11 +14,15 @@ COMMENT= Basic decoder for Apple Lossless Audio Codec files (ALAC) WRKSRC= ${WRKDIR}/${PORTNAME}_decoder ALL_TARGET= alac +OPTIONS_DEFINE= DOCS DEBUG + PLIST_FILES= bin/alac PORTDOCS= README +.include <bsd.port.options.mk> + post-patch: -.if !defined(WITH_DEBUG) +.if ! ${PORT_OTPIONS:MDEBUG} @${REINPLACE_CMD} -e 's|-ggdb||' \ ${WRKSRC}/${MAKEFILE} .endif @@ -31,7 +31,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/alac ${PREFIX}/bin/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif |