Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 14:17:15 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337989 - in head/audio: id3ren rebot3 tkeca
Message-ID:  <201312291417.rBTEHFbB061667@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sun Dec 29 14:17:15 2013
New Revision: 337989
URL: http://svnweb.freebsd.org/changeset/ports/337989

Log:
  Stage audio ports maintained by me

Modified:
  head/audio/id3ren/Makefile
  head/audio/rebot3/Makefile
  head/audio/tkeca/Makefile
  head/audio/tkeca/pkg-plist

Modified: head/audio/id3ren/Makefile
==============================================================================
--- head/audio/id3ren/Makefile	Sun Dec 29 14:06:03 2013	(r337988)
+++ head/audio/id3ren/Makefile	Sun Dec 29 14:17:15 2013	(r337989)
@@ -16,10 +16,7 @@ GH_ACCOUNT=	sebcode
 GH_TAGNAME=	322ee77
 GH_COMMIT=	322ee77
 
-NO_STAGE=	yes
-PLIST_FILES=	bin/id3ren
-MAN1=		id3ren.1
-MANCOMPRESSED=	yes
+PLIST_FILES=	bin/id3ren man/man1/id3ren.1.gz
 PORTDOCS=	AUTHORS ChangeLog FEATURES FEEDBACK INSTALL PORTS \
 		README THANKS TODO USAGE
 
@@ -30,10 +27,13 @@ pre-patch:
 		${WRKSRC}/src/id3ren.c ${WRKSRC}/src/id3misc.c
 	${RM} ${WRKSRC}/src/id3ren
 
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1.gz \
+		${STAGEDIR}${PREFIX}/man/man1/
+
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/audio/rebot3/Makefile
==============================================================================
--- head/audio/rebot3/Makefile	Sun Dec 29 14:06:03 2013	(r337988)
+++ head/audio/rebot3/Makefile	Sun Dec 29 14:17:15 2013	(r337989)
@@ -15,13 +15,9 @@ RUN_DEPENDS=	p5-CDDB>=0:${PORTSDIR}/audi
 		p5-MP3-ID3v1Tag>=0:${PORTSDIR}/audio/p5-MP3-ID3v1Tag
 
 USES=		perl5
-NO_STAGE=	yes
 NO_BUILD=	yes
 
-MAN1=		${PORTNAME}.1
-PLIST_FILES=	bin/${PORTNAME}
-
-.include <bsd.port.pre.mk>
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
 post-patch:
 # Yes, we know it's perl, but we don't want to type '.pl' the whole time.
@@ -31,8 +27,9 @@ post-patch:
 		${WRKSRC}/${PORTNAME}.pl ${WRKSRC}/${PORTNAME}.pl.1
 
 do-install:
-	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
+	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.pl.1 \
-		${MAN1PREFIX}/man/man1/${PORTNAME}.1
+		${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/audio/tkeca/Makefile
==============================================================================
--- head/audio/tkeca/Makefile	Sun Dec 29 14:06:03 2013	(r337988)
+++ head/audio/tkeca/Makefile	Sun Dec 29 14:17:15 2013	(r337989)
@@ -13,27 +13,21 @@ LICENSE=	GPLv2
 RUN_DEPENDS=	normalize:${PORTSDIR}/audio/normalize \
 		ecasound:${PORTSDIR}/audio/ecasound
 
-USE_GNOME=	desktopfileutils
-NO_STAGE=	yes
-USE_TCL=	yes
-USE_TK=		yes
+USES=		desktop-file-utils tk
 
 NO_BUILD=	yes
 PORTDOCS=	*
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} -e '3s,^exec wish,exec ${WISH},' ${WRKSRC}/tkeca.tcl
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/tkeca.tcl ${PREFIX}/bin/tkeca
-	${INSTALL_DATA} ${WRKSRC}/tkeca.png ${PREFIX}/share/pixmaps/
-	${INSTALL_DATA} ${WRKSRC}/tkeca.desktop ${PREFIX}/share/applications/
-	-@update-desktop-database
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/tkeca.html ${WRKSRC}/README.tkeca ${DOCSDIR}/
-.endif
+	${INSTALL_SCRIPT} ${WRKSRC}/tkeca.tcl ${STAGEDIR}${PREFIX}/bin/tkeca
+	${INSTALL_DATA} ${WRKSRC}/tkeca.png ${STAGEDIR}${PREFIX}/share/pixmaps/
+	${INSTALL_DATA} ${WRKSRC}/tkeca.desktop \
+		${STAGEDIR}${PREFIX}/share/applications/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/tkeca.html ${WRKSRC}/README.tkeca \
+		${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>

Modified: head/audio/tkeca/pkg-plist
==============================================================================
--- head/audio/tkeca/pkg-plist	Sun Dec 29 14:06:03 2013	(r337988)
+++ head/audio/tkeca/pkg-plist	Sun Dec 29 14:17:15 2013	(r337989)
@@ -1,5 +1,3 @@
 bin/tkeca
 share/applications/tkeca.desktop
 share/pixmaps/tkeca.png
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



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