diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-09 22:41:40 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-09 22:41:40 +0800 |
commit | 1f984c363846ca08b8b9ed30cfb0d07e4a9e9afa (patch) | |
tree | 90c21cf66b384d2bfea0d3bd80c864c3cdfb6faa /net | |
parent | cdc26c2a064f18a943de82830143fd63016001d6 (diff) | |
download | freebsd-ports-gnome-1f984c363846ca08b8b9ed30cfb0d07e4a9e9afa.tar.gz freebsd-ports-gnome-1f984c363846ca08b8b9ed30cfb0d07e4a9e9afa.tar.zst freebsd-ports-gnome-1f984c363846ca08b8b9ed30cfb0d07e4a9e9afa.zip |
1: Stagify.
2: use @sample on pkg-plist.
Diffstat (limited to 'net')
-rw-r--r-- | net/gotthard/Makefile | 11 | ||||
-rw-r--r-- | net/gotthard/pkg-plist | 4 |
2 files changed, 5 insertions, 10 deletions
diff --git a/net/gotthard/Makefile b/net/gotthard/Makefile index 5d3d6dfa0a79..cea414d876c1 100644 --- a/net/gotthard/Makefile +++ b/net/gotthard/Makefile @@ -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> diff --git a/net/gotthard/pkg-plist b/net/gotthard/pkg-plist index ddc0a2daa463..d19a3679f708 100644 --- a/net/gotthard/pkg-plist +++ b/net/gotthard/pkg-plist @@ -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 |