From owner-svn-ports-head@FreeBSD.ORG Mon Jul 21 10:05:52 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 108FB187; Mon, 21 Jul 2014 10:05:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1CFE204C; Mon, 21 Jul 2014 10:05:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6LA5pop042694; Mon, 21 Jul 2014 10:05:51 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6LA5px3042691; Mon, 21 Jul 2014 10:05:51 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201407211005.s6LA5px3042691@svn.freebsd.org> From: Rene Ladan Date: Mon, 21 Jul 2014 10:05:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362414 - head/net/gogoc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2014 10:05:52 -0000 Author: rene Date: Mon Jul 21 10:05:50 2014 New Revision: 362414 URL: http://svnweb.freebsd.org/changeset/ports/362414 QAT: https://qat.redports.org/buildarchive/r362414/ Log: - Stage support - Install a proper configuaration file - Strip binaries - Mark jobs-unsafe - Fix WWW line in pkg-descr - Fix pkg-plist - Bump PORTREVISION PR: 191958 Submitted by: Carlos Jacobo Puga Media Approved by: portmgr (infrastructure blanket) Modified: head/net/gogoc/Makefile head/net/gogoc/pkg-descr head/net/gogoc/pkg-plist Modified: head/net/gogoc/Makefile ============================================================================== --- head/net/gogoc/Makefile Mon Jul 21 09:15:07 2014 (r362413) +++ head/net/gogoc/Makefile Mon Jul 21 10:05:50 2014 (r362414) @@ -3,6 +3,7 @@ PORTNAME= gogoc PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://gogo6.com/downloads/ DISTNAME= gogoc-1_2-RELEASE @@ -14,34 +15,35 @@ USES= gmake USE_RC_SUBR= gogoc USE_OPENSSL= yes -MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= DOCS EXAMPLES -MAN5= gogoc.conf.5 -MAN8= gogoc.8 +MAKE_JOBS_UNSAFE= yes -PORTDOCS= README CLIENT-LICENSE.TXT GUI-LICENSE.TXT +PORTDOCS= CLIENT-LICENSE.TXT GUI-LICENSE.TXT INSTALL README SUB_FILES= gogoc SUB_LIST= LOCALBASE=${LOCALBASE} -NO_STAGE= yes +.include + do-install: - cd ${WRKSRC}/gogoc-tsp/ && \ - ${MAKE_CMD} platform=freebsd installdir=${PREFIX} install - ${RM} ${PREFIX}/bin/gogoc.conf* -.if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/gogoc-tsp/bin/gogoc.conf.sample ${EXAMPLESDIR} -.endif -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + cd ${WRKSRC}/gogoc-tsp/ && ${SETENV} ${MAKE_ENV} DESTDIR=${STAGEDIR} \ + ${MAKE_CMD} platform=freebsd installdir=${STAGEDIR}${PREFIX} install + ${RM} ${STAGEDIR}${PREFIX}/bin/gogoc.conf* + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gogoc + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/gogoc-tsp/bin/gogoc.conf.sample ${STAGEDIR}${EXAMPLESDIR} + @${REINPLACE_CMD} -e \ + 's|gogoc_dir=${STAGEDIR}${PREFIX}|gogoc_dir=${PREFIX}|g' \ + ${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample + @${RM} ${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample.bak # pass stage-qa + ${INSTALL_DATA} ${STAGEDIR}${EXAMPLESDIR}/gogoc.conf.sample \ + ${STAGEDIR}${PREFIX}/etc/gogoc.conf + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif - - @if [ ! -f ${PREFIX}/etc/gogoc.conf ]; then \ - ${TOUCH} ${PREFIX}/etc/gogoc.conf ; \ - fi .include Modified: head/net/gogoc/pkg-descr ============================================================================== --- head/net/gogoc/pkg-descr Mon Jul 21 09:15:07 2014 (r362413) +++ head/net/gogoc/pkg-descr Mon Jul 21 10:05:50 2014 (r362414) @@ -6,4 +6,4 @@ incremental deployment of IPv6. Freenet6 from anywhere, including from behind any NAT device or from outside of their home network. -WWW: http://gogonet.gogo6.com/page/freenet6-services +WWW: http://www.gogo6.com/freenet6 Modified: head/net/gogoc/pkg-plist ============================================================================== --- head/net/gogoc/pkg-plist Mon Jul 21 09:15:07 2014 (r362413) +++ head/net/gogoc/pkg-plist Mon Jul 21 10:05:50 2014 (r362414) @@ -1,7 +1,9 @@ bin/gogoc -%%ETCDIR%%.conf +etc/gogoc.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gogoc.conf.sample +man/man5/gogoc.conf.5.gz +man/man8/gogoc.8.gz template/README template/freebsd.sh -@dirrm template %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% +@dirrmtry template