- Stage support

PR:		190976
This commit is contained in:
Martin Wilke 2014-06-15 02:58:31 +00:00
parent bb9b187c71
commit 569cc785bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357809
2 changed files with 8 additions and 11 deletions

View file

@ -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>

View file

@ -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