aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-15 10:58:31 +0800
committermiwi <miwi@FreeBSD.org>2014-06-15 10:58:31 +0800
commitb22cd3352726ef5de150cf66233bfe3fed7b3257 (patch)
tree34d902fc138eff2adfa9e812eaa20a52fe39f4ab /net
parent4ba6dfeaa56bf62b0e33be7abdd480b8ad1c652f (diff)
downloadfreebsd-ports-gnome-b22cd3352726ef5de150cf66233bfe3fed7b3257.tar.gz
freebsd-ports-gnome-b22cd3352726ef5de150cf66233bfe3fed7b3257.tar.zst
freebsd-ports-gnome-b22cd3352726ef5de150cf66233bfe3fed7b3257.zip
- Stage support
PR: 190976
Diffstat (limited to 'net')
-rw-r--r--net/stone/Makefile17
-rw-r--r--net/stone/pkg-plist2
2 files changed, 8 insertions, 11 deletions
diff --git a/net/stone/Makefile b/net/stone/Makefile
index 0c0011fb0d41..252f3385d92f 100644
--- a/net/stone/Makefile
+++ b/net/stone/Makefile
@@ -9,15 +9,13 @@ MASTER_SITES= http://www.gcd.org/sengoku/stone/
MAINTAINER= sarumaru@jp.FreeBSD.org
COMMENT= Stone is a TCP/IP packet repeater in the application layer
-WRKSRC= ${WRKDIR}/${PORTNAME}-2.3d-2.3.2.7
+LICENSE= GPLv2
-MAN1= stone.1
-MANLANG= "" ja
+WRKSRC= ${WRKDIR}/${PORTNAME}-2.3d-2.3.2.7
USE_RC_SUBR= stone
USE_OPENSSL= yes
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if defined(WITHOUT_SSL)
@@ -36,12 +34,9 @@ post-patch:
@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/stone ${PREFIX}/bin/stone
- ${INSTALL_MAN} ${FILESDIR}/stone.1 ${PREFIX}/man/man1/stone.1
- ${INSTALL_MAN} ${FILESDIR}/stone.1.ja ${PREFIX}/man/ja/man1/stone.1
- ${INSTALL_DATA} ${FILESDIR}/stone.cnf ${PREFIX}/etc/stone.cnf.sample
-.if !exists(${PREFIX}/etc/stone.cnf)
- ${INSTALL_DATA} ${FILESDIR}/stone.cnf ${PREFIX}/etc
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/stone ${STAGEDIR}${PREFIX}/bin/stone
+ ${INSTALL_MAN} ${FILESDIR}/stone.1 ${STAGEDIR}${PREFIX}/man/man1/stone.1
+ ${INSTALL_MAN} ${FILESDIR}/stone.1.ja ${STAGEDIR}${PREFIX}/man/ja/man1/stone.1
+ ${INSTALL_DATA} ${FILESDIR}/stone.cnf ${STAGEDIR}${PREFIX}/etc/stone.cnf.sample
.include <bsd.port.post.mk>
diff --git a/net/stone/pkg-plist b/net/stone/pkg-plist
index eb88be93290b..e69752274cc7 100644
--- a/net/stone/pkg-plist
+++ b/net/stone/pkg-plist
@@ -2,3 +2,5 @@
etc/stone.cnf.sample
@exec [ -f %B/stone.cnf ] || cp %B/%f %B/stone.cnf
bin/stone
+man/ja/man1/stone.1.gz
+man/man1/stone.1.gz