Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 14:41:41 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357158 - head/net/gotthard
Message-ID:  <201406091441.s59Effi6048719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jun  9 14:41:40 2014
New Revision: 357158
URL: http://svnweb.freebsd.org/changeset/ports/357158
QAT: https://qat.redports.org/buildarchive/r357158/

Log:
  1: Stagify.
  2: use @sample on pkg-plist.

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

Modified: head/net/gotthard/Makefile
==============================================================================
--- head/net/gotthard/Makefile	Mon Jun  9 14:32:11 2014	(r357157)
+++ head/net/gotthard/Makefile	Mon Jun  9 14:41:40 2014	(r357158)
@@ -9,14 +9,9 @@ MASTER_SITES=	http://www.nazgul.ch/dev/
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Ssh through https proxy tunnel
 
-MAN8=		gotthard.8
-
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/gotthard ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/gotthard.8 ${PREFIX}/man/man8
-	${INSTALL_DATA} ${WRKSRC}/gotthard.conf ${PREFIX}/etc/gotthard.conf.sample
-	[ -f ${PREFIX}/etc/gotthard.conf ] || \
-		${INSTALL_DATA} ${WRKSRC}/gotthard.conf ${PREFIX}/etc
+	${INSTALL_PROGRAM} ${WRKSRC}/gotthard ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/gotthard.8 ${STAGEDIR}${PREFIX}/man/man8
+	${INSTALL_DATA} ${WRKSRC}/gotthard.conf ${STAGEDIR}${PREFIX}/etc/gotthard.conf.sample
 
 .include <bsd.port.mk>

Modified: head/net/gotthard/pkg-plist
==============================================================================
--- head/net/gotthard/pkg-plist	Mon Jun  9 14:32:11 2014	(r357157)
+++ head/net/gotthard/pkg-plist	Mon Jun  9 14:41:40 2014	(r357158)
@@ -1,3 +1,3 @@
 bin/gotthard
-@unexec if cmp -s %D/etc/gotthard.conf %D/etc/gotthard.conf.sample; then rm -f %D/etc/gotthard.conf; fi
-etc/gotthard.conf.sample
+@sample etc/gotthard.conf.sample
+man/man8/gotthard.8.gz



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