Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 21:29:37 +0900 (JST)
From:      MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
To:        ports@freebsd.org
Subject:   make stage error with dropbox-api-command
Message-ID:  <20140613.212937.603112851161921352.sanpei@sanpei.org>

next in thread | raw e-mail | index | archive | help
Hi all.

I tried to support stage for net/dropbox-api-command.

However I have below error between compress-man and stage-qa.

Please let me know the more detailed about error?

% env DEVELOPER=yes make stage
<snip>

===>   Generating temporary packing list
install   -m 444    /zdevel1/usr/ports-192.168.10.64//usr/home/sanpei/ports/dropbox-api-command/work/s-aska-dropbox-api-command-1c843ed/blib/man1/dropbox-api.1 /zdevel1/usr/ports-192.168.10.64//usr/home/sanpei/ports/dropbox-api-command/work/stage/usr/local/man/man1/
install   -m 555 /zdevel1/usr/ports-192.168.10.64//usr/home/sanpei/ports/dropbox-api-command/work/s-aska-dropbox-api-command-1c843ed/blib/script/dropbox-api /zdevel1/usr/ports-192.168.10.64//usr/home/sanpei/ports/dropbox-api-command/work/stage/usr/local/bin/
install   -m 555 /zdevel1/usr/ports-192.168.10.64//usr/home/sanpei/ports/dropbox-api-command/work/s-aska-dropbox-api-command-1c843ed/upload-to-dropbox       /zdevel1/usr/ports-192.168.10.64//usr/home/sanpei/ports/dropbox-api-command/work/stage/usr/local/bin/
====> Compressing man pages (compress-man)
*** Error code 1 (ignored) <-------------------- ******
====> Running Q/A tests (stage-qa)

current diff
diff -uNr /usr/ports/net/dropbox-api-command/Makefile dropbox-api-command/Makefile
--- /usr/ports/net/dropbox-api-command/Makefile	2014-01-23 02:00:46.000000000 +0900
+++ dropbox-api-command/Makefile	2014-06-12 22:41:55.000000000 +0900
@@ -32,17 +32,15 @@
 # and override do-install to only copy the useful parts, i.e., not the
 # empty library.
 
-MAN1=	dropbox-api.1
-PLIST_FILES=	bin/dropbox-api bin/upload-to-dropbox
+PLIST_FILES=	bin/dropbox-api bin/upload-to-dropbox man/man1/dropbox-api.1.gz
 
-NO_STAGE=	yes
 post-patch:
 	${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' ${WRKSRC}/upload-to-dropbox
 	${TAIL} +3 ${WRKSRC}/lib/App/dropboxapi.pm >> ${WRKSRC}/dropbox-api
 
 do-install:
-	${INSTALL_MAN}    ${WRKSRC}/blib/man1/dropbox-api.1 ${PREFIX}/man/man1/
-	${INSTALL_SCRIPT} ${WRKSRC}/blib/script/dropbox-api ${PREFIX}/bin/
-	${INSTALL_SCRIPT} ${WRKSRC}/upload-to-dropbox       ${PREFIX}/bin/
+	${INSTALL_MAN}    ${WRKSRC}/blib/man1/dropbox-api.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_SCRIPT} ${WRKSRC}/blib/script/dropbox-api ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/upload-to-dropbox       ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

---
MIHIRA, Sanpei Yoshiro
Tokyo, Japan.



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