Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 2014 12:25:33 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350223 - head/audio/asunder
Message-ID:  <201404051225.s35CPXOp072472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Apr  5 12:25:33 2014
New Revision: 350223
URL: http://svnweb.freebsd.org/changeset/ports/350223
QAT: https://qat.redports.org/buildarchive/r350223/

Log:
  Support stage
  Use options helpers
  Add missing desktop-file-utils

Modified:
  head/audio/asunder/Makefile
  head/audio/asunder/pkg-plist

Modified: head/audio/asunder/Makefile
==============================================================================
--- head/audio/asunder/Makefile	Sat Apr  5 12:03:19 2014	(r350222)
+++ head/audio/asunder/Makefile	Sat Apr  5 12:25:33 2014	(r350223)
@@ -3,6 +3,7 @@
 
 PORTNAME=	asunder
 PORTVERSION=	2.3
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	http://littlesvr.ca/asunder/releases/
 
@@ -18,49 +19,25 @@ RUN_DEPENDS=	${LOCALBASE}/bin/cdparanoia
 OPTIONS_DEFINE=	LAME OGG FLAC OPUS WAVPACK APE WINDOWS_CHARS NLS DOCS
 OPUS_DESC=	OPUS support
 OPTIONS_DEFAULT=	LAME OGG FLAC
+OPTIONS_SUB=	yes
 
 WINDOWS_CHARS_DESC=	Allow Windows special chars in filenames
 
-USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-NO_STAGE=	yes
-USES=		gettext gmake pkgconfig
+USES=		gettext gmake desktop-file-utils pkgconfig tar:bzip2
 USE_GNOME=	gtk20
 
 PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README TODO
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLAME}
-RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
-.endif
-
-.if ${PORT_OPTIONS:MOGG}
-RUN_DEPENDS+=	oggenc:${PORTSDIR}/audio/vorbis-tools
-.endif
-
-.if ${PORT_OPTIONS:MFLAC}
-RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
-.endif
+LAME_RUN_DEPENDS=	lame:${PORTSDIR}/audio/lame
+OGG_RUN_DEPENDS=	oggenc:${PORTSDIR}/audio/vorbis-tools
+FLAC_RUN_DEPENDS=	flac:${PORTSDIR}/audio/flac
+OPUS_RUN_DEPENDS=	opusenc:${PORTSDIR}/audio/opus-tools
+WAVPACK_RUN_DEPENDS=	wavpack:${PORTSDIR}/audio/wavpack
+APE_RUN_DEPENDS=	mac:${PORTSDIR}/audio/mac
+NLS_CONFIGURE_ENABLE=	yes
 
-.if ${PORT_OPTIONS:MOPUS}
-RUN_DEPENDS+=	opusenc:${PORTSDIR}/audio/opus-tools
-.endif
-
-.if ${PORT_OPTIONS:MWAVPACK}
-RUN_DEPENDS+=	wavpack:${PORTSDIR}/audio/wavpack
-.endif
-
-.if ${PORT_OPTIONS:MAPE}
-RUN_DEPENDS+=	mac:${PORTSDIR}/audio/mac
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+=	NLS=''
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS='@comment '
-.endif
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/^itlocaledir = .*/itlocaledir = @datarootdir@\/locale/' ${WRKSRC}/po/Makefile.in.in
@@ -70,8 +47,8 @@ post-patch:
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>

Modified: head/audio/asunder/pkg-plist
==============================================================================
--- head/audio/asunder/pkg-plist	Sat Apr  5 12:03:19 2014	(r350222)
+++ head/audio/asunder/pkg-plist	Sat Apr  5 12:25:33 2014	(r350223)
@@ -42,3 +42,7 @@ share/pixmaps/asunder.png
 %%NLS%%@dirrmtry share/locale/bs_BA
 %%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES
 %%NLS%%@dirrmtry share/locale/ur_PK
+%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/sr@latin
+%%NLS%%@dirrmtry share/locale/be@latin/LC_MESSAGES
+%%NLS%%@dirrmtry share/locale/be@latin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404051225.s35CPXOp072472>