Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 11:11:02 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349731 - head/devel/gettext-lint
Message-ID:  <201403311111.s2VBB2al038963@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar 31 11:11:01 2014
New Revision: 349731
URL: http://svnweb.freebsd.org/changeset/ports/349731
QAT: https://qat.redports.org/buildarchive/r349731/

Log:
  - Add staging support
  - Fix shebangs in two python scripts

Modified:
  head/devel/gettext-lint/Makefile
  head/devel/gettext-lint/pkg-plist

Modified: head/devel/gettext-lint/Makefile
==============================================================================
--- head/devel/gettext-lint/Makefile	Mon Mar 31 11:09:13 2014	(r349730)
+++ head/devel/gettext-lint/Makefile	Mon Mar 31 11:11:01 2014	(r349731)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gettext-lint
 PORTVERSION=	0.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}.0
 
@@ -15,14 +15,10 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 NO_BUILD=	yes
 
-USES=		gettext:run
+USES=		gettext:run shebangfix
+SHEBANG_FILES=	src/POFileEquiv.in src/POFileGlossary.in
 USE_PYTHON_RUN=	yes
 
-MAN1=		POFileChecker.1 POFileClean.1 POFileConsistency.1 \
-		POFileEquiv.1 POFileFill.1 POFileGlossary.1 \
-		POFileSpell.1 POFileStatus.1
-
-NO_STAGE=	yes
 post-patch:
 .for i in POFileChecker POFileClean POFileConsistency POFileEquiv POFileFill \
 	POFileGlossary POFileSpell POFileStatus
@@ -33,13 +29,14 @@ post-patch:
 do-install:
 .for i in POFileChecker POFileClean POFileConsistency POFileEquiv POFileFill \
 	POFileGlossary POFileSpell POFileStatus
-	${INSTALL_SCRIPT} ${WRKSRC}/src/${i} ${PREFIX}/bin/${i}
-	${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${MANPREFIX}/man/man1/${i}.1
+	${INSTALL_SCRIPT} ${WRKSRC}/src/${i} ${STAGEDIR}${PREFIX}/bin/${i}
+	${INSTALL_MAN} ${WRKSRC}/doc/${i}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${i}.1
 .endfor
-	@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
-	${INSTALL_DATA} ${WRKSRC}/src/*.py ${PYTHON_SITELIBDIR}/${PORTNAME}
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/etc/*.css ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/etc/*.xsl ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/src/*.py \
+		${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/etc/*.css ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/etc/*.xsl ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>

Modified: head/devel/gettext-lint/pkg-plist
==============================================================================
--- head/devel/gettext-lint/pkg-plist	Mon Mar 31 11:09:13 2014	(r349730)
+++ head/devel/gettext-lint/pkg-plist	Mon Mar 31 11:11:01 2014	(r349731)
@@ -11,6 +11,14 @@ bin/POFileStatus
 %%PYTHON_SITELIBDIR%%/gettext-lint/POFile.py
 %%PYTHON_SITELIBDIR%%/gettext-lint/capitalization.py
 %%PYTHON_SITELIBDIR%%/gettext-lint/util.py
+man/man1/POFileChecker.1.gz
+man/man1/POFileClean.1.gz
+man/man1/POFileConsistency.1.gz
+man/man1/POFileEquiv.1.gz
+man/man1/POFileFill.1.gz
+man/man1/POFileGlossary.1.gz
+man/man1/POFileSpell.1.gz
+man/man1/POFileStatus.1.gz
 %%DATADIR%%/count.xsl
 %%DATADIR%%/report.css
 %%DATADIR%%/report.xsl



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