Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2019 07:44:53 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489247 - head/audio/bambootracker
Message-ID:  <201901040744.x047ircp036444@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Jan  4 07:44:52 2019
New Revision: 489247
URL: https://svnweb.freebsd.org/changeset/ports/489247

Log:
  Optionally provide localized man pages

Added:
  head/audio/bambootracker/pkg-plist   (contents, props changed)
Modified:
  head/audio/bambootracker/Makefile

Modified: head/audio/bambootracker/Makefile
==============================================================================
--- head/audio/bambootracker/Makefile	Fri Jan  4 07:04:44 2019	(r489246)
+++ head/audio/bambootracker/Makefile	Fri Jan  4 07:44:52 2019	(r489247)
@@ -4,6 +4,7 @@
 PORTNAME=	bambootracker
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.1.4
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	LOCAL/ehaupt:extras
 DISTFILES=	${PORTNAME}-extras-${EXTRASVERSION}${EXTRACT_SUFX}:extras
@@ -27,18 +28,20 @@ BUILD_WRKSRC=		${WRKSRC}/BambooTracker
 
 EXTRASVERSION=	1
 
-OPTIONS_DEFINE=	EXAMPLES
+OPTIONS_DEFINE=	EXAMPLES NLS
+OPTIONS_SUB=	yes
 
-PLIST_FILES=	bin/BambooTracker man/man1/BambooTracker.1.gz \
-		share/applications/BambooTracker.desktop \
-		share/icons/BambooTracker.png
 PORTEXAMPLES=	*
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons \
+		${STAGEDIR}${MANPREFIX}/man/fr.UTF-8/man1
 	${INSTALL_PROGRAM} ${WRKSRC}/BambooTracker/BambooTracker \
 		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/BambooTracker.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/BambooTracker.1 \
+		${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/BambooTracker.fr.1 \
+		${STAGEDIR}${MANPREFIX}/man/fr.UTF-8/man1
 	${INSTALL_DATA} ${WRKSRC}/BambooTracker.desktop ${STAGEDIR}${DESKTOPDIR}
 	${INSTALL_DATA} \
 		${WRKDIR}/${PORTNAME}-extras-${EXTRASVERSION}/BambooTracker.png \

Added: head/audio/bambootracker/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/bambootracker/pkg-plist	Fri Jan  4 07:44:52 2019	(r489247)
@@ -0,0 +1,5 @@
+bin/BambooTracker
+%%NLS%%man/fr.UTF-8/man1/BambooTracker.fr.1.gz
+man/man1/BambooTracker.1.gz
+share/applications/BambooTracker.desktop
+share/icons/BambooTracker.png



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