2012-11-26 12:59:39 +00:00
|
|
|
# Created by: Fraser Tweedale <frase@frase.id.au>
|
2007-09-17 17:37:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= asunder
|
2016-01-22 10:31:33 +00:00
|
|
|
PORTVERSION= 2.8
|
2007-09-17 17:37:55 +00:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://littlesvr.ca/asunder/releases/
|
|
|
|
|
|
|
|
MAINTAINER= frase@frase.id.au
|
2013-07-03 17:15:23 +00:00
|
|
|
COMMENT= Lightweight GTK+ CD ripper
|
2007-09-17 17:37:55 +00:00
|
|
|
|
2012-12-13 22:05:17 +00:00
|
|
|
LICENSE= GPLv2
|
2014-05-22 19:34:27 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-12-13 22:05:17 +00:00
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
LIB_DEPENDS= libcddb.so:audio/libcddb
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/cdparanoia:audio/cdparanoia
|
2007-09-17 17:37:55 +00:00
|
|
|
|
2013-07-03 17:15:23 +00:00
|
|
|
OPTIONS_DEFINE= LAME OGG FLAC OPUS WAVPACK APE WINDOWS_CHARS NLS DOCS
|
2015-07-16 17:45:34 +00:00
|
|
|
OPTIONS_DEFAULT= OGG FLAC
|
2014-04-05 12:25:33 +00:00
|
|
|
OPTIONS_SUB= yes
|
2012-11-26 12:59:39 +00:00
|
|
|
|
|
|
|
WINDOWS_CHARS_DESC= Allow Windows special chars in filenames
|
2007-10-08 20:36:55 +00:00
|
|
|
|
2007-09-17 17:37:55 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2015-07-16 17:45:34 +00:00
|
|
|
USES= desktop-file-utils gettext gmake pkgconfig tar:bzip2
|
2014-05-22 17:45:11 +00:00
|
|
|
USE_GNOME= gtk20 glib20 intltool intlhack
|
2007-09-17 17:37:55 +00:00
|
|
|
|
2012-12-13 22:05:17 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README TODO
|
2008-02-12 23:34:37 +00:00
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
LAME_RUN_DEPENDS= lame:audio/lame
|
|
|
|
OGG_RUN_DEPENDS= oggenc:audio/vorbis-tools
|
|
|
|
FLAC_RUN_DEPENDS= flac:audio/flac
|
|
|
|
OPUS_RUN_DEPENDS= opusenc:audio/opus-tools
|
|
|
|
WAVPACK_RUN_DEPENDS= wavpack:audio/wavpack
|
|
|
|
APE_RUN_DEPENDS= mac:audio/mac
|
2014-04-05 12:25:33 +00:00
|
|
|
NLS_CONFIGURE_ENABLE= yes
|
2007-10-08 20:36:55 +00:00
|
|
|
|
2010-08-23 11:16:11 +00:00
|
|
|
post-patch:
|
2015-08-19 13:29:59 +00:00
|
|
|
post-patch-WINDOWS_CHARS-on:
|
2010-08-23 11:16:11 +00:00
|
|
|
@${REINPLACE_CMD} -e 's^#define[[:blank:]]*BADCHARS.*^#define BADCHARS "/"^' ${WRKSRC}/src/util.h
|
|
|
|
|
2015-08-19 13:29:59 +00:00
|
|
|
post-install-DOCS-on:
|
2014-04-05 12:25:33 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
|
2008-02-12 23:34:37 +00:00
|
|
|
|
2012-11-26 12:59:39 +00:00
|
|
|
.include <bsd.port.mk>
|