aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-11 15:42:02 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-11 15:42:02 +0000
commit88ff2718e8e33100055c8560dd4c0644e2df15fe (patch)
tree14db305f375c1cb34c71a6e87a2f4de8881a9a67 /ftp
parent52c43e093b6722df16260b6e07e8f2c8bca355a0 (diff)
downloadports-88ff2718e8e33100055c8560dd4c0644e2df15fe.tar.gz
ports-88ff2718e8e33100055c8560dd4c0644e2df15fe.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/weex/Makefile13
-rw-r--r--ftp/weex/files/patch-po__Makefile.in.in11
-rw-r--r--ftp/weex/pkg-plist1
3 files changed, 18 insertions, 7 deletions
diff --git a/ftp/weex/Makefile b/ftp/weex/Makefile
index 3494846bc00c..a3304a67e5b7 100644
--- a/ftp/weex/Makefile
+++ b/ftp/weex/Makefile
@@ -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
diff --git a/ftp/weex/files/patch-po__Makefile.in.in b/ftp/weex/files/patch-po__Makefile.in.in
new file mode 100644
index 000000000000..dccb1a736ec9
--- /dev/null
+++ b/ftp/weex/files/patch-po__Makefile.in.in
@@ -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
+
diff --git a/ftp/weex/pkg-plist b/ftp/weex/pkg-plist
index bb098e1e292c..5e633e2648c8 100644
--- a/ftp/weex/pkg-plist
+++ b/ftp/weex/pkg-plist
@@ -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