Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 15:42:02 +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: r333515 - in head/ftp/weex: . files
Message-ID:  <201311111542.rABFg2aO009668@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Nov 11 15:42:02 2013
New Revision: 333515
URL: http://svnweb.freebsd.org/changeset/ports/333515

Log:
  Support stage.

Added:
  head/ftp/weex/files/patch-po__Makefile.in.in   (contents, props changed)
Modified:
  head/ftp/weex/Makefile
  head/ftp/weex/pkg-plist

Modified: head/ftp/weex/Makefile
==============================================================================
--- head/ftp/weex/Makefile	Mon Nov 11 15:38:54 2013	(r333514)
+++ head/ftp/weex/Makefile	Mon Nov 11 15:42:02 2013	(r333515)
@@ -11,14 +11,13 @@ MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Non-interactive FTP client
 
 GNU_CONFIGURE=	yes
-MANCOMPRESSED=	no
 
 PORTDOCS=	ChangeLog README
-MAN1=		weex.1
+
+MAKE_ENV+=	STAGEDIR=${STAGEDIR}
 
 OPTIONS_DEFINE=	DOCS NLS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNLS}
@@ -34,13 +33,13 @@ post-patch:
 		${WRKSRC}/Makefile.in
 
 post-install:
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/sample.weexrc ${STAGEDIR}${EXAMPLESDIR}
 
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Added: head/ftp/weex/files/patch-po__Makefile.in.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/ftp/weex/files/patch-po__Makefile.in.in	Mon Nov 11 15:42:02 2013	(r333515)
@@ -0,0 +1,11 @@
+--- ./po/Makefile.in.in.orig	2013-11-11 16:27:04.341725450 +0100
++++ ./po/Makefile.in.in	2013-11-11 16:29:31.102728126 +0100
+@@ -20,7 +20,7 @@
+ exec_prefix = @exec_prefix@
+ datadir = $(prefix)/@DATADIRNAME@
+ localedir = $(datadir)/locale
+-gnulocaledir = $(prefix)/share/locale
++gnulocaledir = $(STAGEDIR)$(prefix)/share/locale
+ gettextsrcdir = $(prefix)/share/gettext/po
+ subdir = po
+ 

Modified: head/ftp/weex/pkg-plist
==============================================================================
--- head/ftp/weex/pkg-plist	Mon Nov 11 15:38:54 2013	(r333514)
+++ head/ftp/weex/pkg-plist	Mon Nov 11 15:42:02 2013	(r333515)
@@ -1,4 +1,5 @@
 bin/weex
+man/man1/weex.1.gz
 %%NLS%%share/locale/de/LC_MESSAGES/weex.mo
 %%NLS%%share/locale/es/LC_MESSAGES/weex.mo
 %%NLS%%share/locale/fr/LC_MESSAGES/weex.mo



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