Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 18:10:28 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341867 - head/deskutils/gtimer
Message-ID:  <201401301810.s0UIASf9065344@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Thu Jan 30 18:10:28 2014
New Revision: 341867
URL: http://svnweb.freebsd.org/changeset/ports/341867
QAT: https://qat.redports.org/buildarchive/r341867/

Log:
  Stage support

Modified:
  head/deskutils/gtimer/Makefile
  head/deskutils/gtimer/pkg-plist

Modified: head/deskutils/gtimer/Makefile
==============================================================================
--- head/deskutils/gtimer/Makefile	Thu Jan 30 18:09:14 2014	(r341866)
+++ head/deskutils/gtimer/Makefile	Thu Jan 30 18:10:28 2014	(r341867)
@@ -19,12 +19,9 @@ USE_GNOME=	gtk20
 USES=		gettext perl5 gmake pkgconfig
 GNU_CONFIGURE=	yes
 
-MAN1=		${PORTNAME}.1
-
 CPPFLAGS+=	-I${LOCALBASE}/include -Wno-return-type
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's|1.1.7|${PORTVERSION}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|"sensible-browser"|"xdg-open"|g' ${WRKSRC}/config.h
@@ -41,12 +38,12 @@ post-build:
 .endfor
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 .for lang in cs cz es fr sv
-	@${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES
 	${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \
-		${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
+		${STAGEDIR}${PREFIX}/share/locale/${lang}/LC_MESSAGES/${PORTNAME}.mo
 .endfor
 
 .include <bsd.port.mk>

Modified: head/deskutils/gtimer/pkg-plist
==============================================================================
--- head/deskutils/gtimer/pkg-plist	Thu Jan 30 18:09:14 2014	(r341866)
+++ head/deskutils/gtimer/pkg-plist	Thu Jan 30 18:10:28 2014	(r341867)
@@ -1,4 +1,5 @@
 bin/gtimer
+man/man1/gtimer.1.gz
 share/locale/cs/LC_MESSAGES/gtimer.mo
 share/locale/cz/LC_MESSAGES/gtimer.mo
 share/locale/es/LC_MESSAGES/gtimer.mo



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