Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 17:50:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405178 - in head/audio/id3mtag: . files
Message-ID:  <201601031750.u03HomLg085666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan  3 17:50:48 2016
New Revision: 405178
URL: https://svnweb.freebsd.org/changeset/ports/405178

Log:
  - Update to 0.80
  - Remove MAKE_ARGS
  - Add BASH option
  - Respect ICONV_* variables
  - Convert to new options target helper
  
  Changes:	https://github.com/squell/id3/releases

Deleted:
  head/audio/id3mtag/files/
Modified:
  head/audio/id3mtag/Makefile
  head/audio/id3mtag/distinfo

Modified: head/audio/id3mtag/Makefile
==============================================================================
--- head/audio/id3mtag/Makefile	Sun Jan  3 17:50:43 2016	(r405177)
+++ head/audio/id3mtag/Makefile	Sun Jan  3 17:50:48 2016	(r405178)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	id3mtag
-PORTVERSION=	0.79
+PORTVERSION=	0.80
 CATEGORIES=	audio
 MASTER_SITES=	http://github.com/squell/id3/releases/download/${PORTVERSION}/
 DISTNAME=	id3-${PORTVERSION}
@@ -15,26 +15,31 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 MAKEFILE=	makefile
 ALL_TARGET=	build
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
-		CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
 
 PLIST_FILES=	bin/id3 man/man1/id3.1.gz
 PORTDOCS=	README CHANGES
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS BASH
+BASH_DESC=	Support for bash auto-completion
+BASH_PLIST_FILES=	share/bash-completion/completions/id3
 
 USES=		iconv
 
-CFLAGS+=	-I${LOCALBASE}/include -Wno-parentheses
-LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
-CXXFLAGS+=	-fno-rtti
+CFLAGS+=	-I${ICONV_INCLUDE_PATH}
+LDFLAGS+=	-L${ICONV_PREFIX}/lib ${ICONV_LIB}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/id3 ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/id3.man ${STAGEDIR}${MANPREFIX}/man/man1/id3.1
+
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 
+post-install-BASH-on:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
+	${INSTALL_DATA} ${WRKSRC}/bash/complete ${STAGEDIR}${PREFIX}/${BASH_PLIST_FILES}
+
 .include <bsd.port.mk>

Modified: head/audio/id3mtag/distinfo
==============================================================================
--- head/audio/id3mtag/distinfo	Sun Jan  3 17:50:43 2016	(r405177)
+++ head/audio/id3mtag/distinfo	Sun Jan  3 17:50:48 2016	(r405178)
@@ -1,2 +1,2 @@
-SHA256 (id3-0.79.tar.gz) = 8ef017440deed8445d957c31d82ee2f5a83d08b4c7274fcba78fb0b70f848b91
-SIZE (id3-0.79.tar.gz) = 71331
+SHA256 (id3-0.80.tar.gz) = aa61735c5806ed77b71de1408a78371d04add8c8c9b1532a055949081e5a35e2
+SIZE (id3-0.80.tar.gz) = 78289



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