Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 14:03:54 +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: r334319 - head/net/ssvnc
Message-ID:  <201311191403.rAJE3sJb030380@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Nov 19 14:03:54 2013
New Revision: 334319
URL: http://svnweb.freebsd.org/changeset/ports/334319

Log:
  Support staging.

Modified:
  head/net/ssvnc/Makefile
  head/net/ssvnc/pkg-plist

Modified: head/net/ssvnc/Makefile
==============================================================================
--- head/net/ssvnc/Makefile	Tue Nov 19 13:44:40 2013	(r334318)
+++ head/net/ssvnc/Makefile	Tue Nov 19 14:03:54 2013	(r334319)
@@ -25,10 +25,8 @@ USE_XORG=	xi xmu xt xaw ice xpm xext sm
 USE_TK_WRAPPER=	yes
 USE_PERL5=	run
 
-MAN1=		ssvnc.1 ssvncviewer.1 ssvnc-gui.1
-NO_INSTALL_MANPAGES=	yes
+MAKE_ENV+=	ROOT=${STAGEDIR}
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MULTRAFTP}
@@ -59,11 +57,11 @@ do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} config
 
 post-install:
-	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${MAN1PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${MAN1PREFIX}/man/man1
 .for man in ssvnc.1 ssvncviewer.1
-	${INSTALL_MAN} ${WRKSRC}/man/man1/${man} ${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/man/man1/${man} \
+		${STAGEDIR}${MAN1PREFIX}/man/man1
 .endfor
 .endif
 

Modified: head/net/ssvnc/pkg-plist
==============================================================================
--- head/net/ssvnc/pkg-plist	Tue Nov 19 13:44:40 2013	(r334318)
+++ head/net/ssvnc/pkg-plist	Tue Nov 19 14:03:54 2013	(r334319)
@@ -12,6 +12,9 @@ lib/ssvnc/util/ss_vncviewer
 lib/ssvnc/util/ssvnc.tcl
 lib/ssvnc/vncstorepw
 lib/ssvnc/vncviewer
+man/man1/ssvnc-gui.1.gz
+man/man1/ssvnc.1.gz
+man/man1/ssvncviewer.1.gz
 %%ULTRAFTP%%lib/ssvnc/ultraftp.jar
 share/applications/ssvnc.desktop
 %%PORTDOCS%%%%DOCSDIR%%/README



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