2007-09-17 17:37:55 +00:00
|
|
|
# New ports collection makefile for: asunder
|
|
|
|
# Date created: 14 September 2007
|
|
|
|
# Whom: frase@frase.id.au
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= asunder
|
2010-08-23 11:16:11 +00:00
|
|
|
PORTVERSION= 2.0
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION?= 2
|
2007-09-17 17:37:55 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://littlesvr.ca/asunder/releases/
|
|
|
|
|
|
|
|
MAINTAINER= frase@frase.id.au
|
|
|
|
COMMENT= A lightweight GTK+ CD ripper
|
|
|
|
|
|
|
|
LIB_DEPENDS= cddb.4:${PORTSDIR}/audio/libcddb
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/cdparanoia:${PORTSDIR}/audio/cdparanoia
|
|
|
|
|
2007-10-08 20:36:55 +00:00
|
|
|
OPTIONS= LAME "lame support" on \
|
|
|
|
OGG "ogg-vorbis support" on \
|
2008-04-30 07:01:42 +00:00
|
|
|
FLAC "FLAC support" on \
|
2010-02-08 15:06:32 +00:00
|
|
|
WAVPACK "WavPack support" off \
|
2010-08-23 11:16:11 +00:00
|
|
|
MONKEYAUDIO "Monkey's Audio support" off \
|
|
|
|
WINDOWS_CHARS "Allow Windows special chars in filenames" off
|
2007-10-08 20:36:55 +00:00
|
|
|
|
2007-12-27 22:48:22 +00:00
|
|
|
USE_BZIP2= yes
|
2007-09-17 17:37:55 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
|
2008-04-30 07:01:42 +00:00
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
|
2008-02-12 23:34:37 +00:00
|
|
|
|
2007-10-08 20:36:55 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_LAME)
|
|
|
|
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_OGG)
|
|
|
|
RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_FLAC)
|
|
|
|
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
|
|
|
|
.endif
|
|
|
|
|
2008-04-30 07:01:42 +00:00
|
|
|
.if defined(WITH_WAVPACK)
|
|
|
|
RUN_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack
|
|
|
|
.endif
|
|
|
|
|
2010-02-08 15:06:32 +00:00
|
|
|
.if defined(WITH_MONKEYAUDIO)
|
|
|
|
RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
|
|
|
|
.endif
|
|
|
|
|
2010-08-23 11:16:11 +00:00
|
|
|
post-patch:
|
|
|
|
.if defined(WITH_WINDOWS_CHARS)
|
|
|
|
@${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h
|
|
|
|
.endif
|
|
|
|
|
2008-04-30 07:01:42 +00:00
|
|
|
post-install:
|
2008-02-12 23:34:37 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-04-30 07:01:42 +00:00
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
2008-02-12 23:34:37 +00:00
|
|
|
.endif
|
|
|
|
|
2007-10-08 20:36:55 +00:00
|
|
|
.include <bsd.port.post.mk>
|