1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/audio/mp3unicode/Makefile
Max Brazhnikov 7678193c3d - Add global options (DOCS, NLS, etc) to the OPTIONS_DEFINE and partly revert r315222 [1]
- Convert WITH_DEBUG to new options framework
- Trim Makefile header
- Adjust COMMENTs
- Reformat/update description

[1] See follow-up discussion: http://lists.freebsd.org/pipermail/svn-ports-head/2013-March/016094.html
2013-05-12 11:48:49 +00:00

34 lines
658 B
Makefile

# $FreeBSD$
PORTNAME= mp3unicode
PORTVERSION= 1.2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= makc@FreeBSD.org
COMMENT= ID3 tags charset converter
LIB_DEPENDS= tag.1:${PORTSDIR}/audio/taglib
USE_BZIP2= yes
USES= iconv pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= ICONV_CFLAGS="-I${LOCALBASE}/include" \
ICONV_LIBS="-L${LOCALBASE}/lib -liconv"
MAN1= mp3unicode.1
PLIST_FILES= bin/mp3unicode
PORTDOCS= COPYING README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
pre-configure:
.if !${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e '/^install-data-am/s|install-dist_docDATA||' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>