svn commit: r357809 - head/net/stone

Martin Wilke miwi at FreeBSD.org
Sun Jun 15 02:58:32 UTC 2014


Author: miwi
Date: Sun Jun 15 02:58:31 2014
New Revision: 357809
URL: http://svnweb.freebsd.org/changeset/ports/357809
QAT: https://qat.redports.org/buildarchive/r357809/

Log:
  - Stage support
  
  PR:		190976

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

Modified: head/net/stone/Makefile
==============================================================================
--- head/net/stone/Makefile	Sun Jun 15 02:53:14 2014	(r357808)
+++ head/net/stone/Makefile	Sun Jun 15 02:58:31 2014	(r357809)
@@ -9,15 +9,13 @@ MASTER_SITES=	http://www.gcd.org/sengoku
 MAINTAINER=	sarumaru at 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>

Modified: head/net/stone/pkg-plist
==============================================================================
--- head/net/stone/pkg-plist	Sun Jun 15 02:53:14 2014	(r357808)
+++ head/net/stone/pkg-plist	Sun Jun 15 02:58:31 2014	(r357809)
@@ -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


More information about the svn-ports-head mailing list