svn commit: r357158 - head/net/gotthard

Vanilla I. Shu vanilla at FreeBSD.org
Mon Jun 9 14:41:41 UTC 2014


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 at 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
- at 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
+ at sample etc/gotthard.conf.sample
+man/man8/gotthard.8.gz


More information about the svn-ports-head mailing list