svn commit: r312405 - head/security/dropbear

Alex Kozlov ak at FreeBSD.org
Sun Feb 17 08:43:17 UTC 2013


Author: ak
Date: Sun Feb 17 08:43:16 2013
New Revision: 312405
URL: http://svnweb.freebsd.org/changeset/ports/312405

Log:
  - Install manpages [1]
  - Convert Makefile headers to new style
  - Remove indefinite article from COMMENT
  
  PR:	ports/176198 (based on) [1]
  Submitted by:	Brett Wynkoop <bsdbugs at wynn.com>

Modified:
  head/security/dropbear/Makefile   (contents, props changed)

Modified: head/security/dropbear/Makefile
==============================================================================
--- head/security/dropbear/Makefile	Sun Feb 17 08:19:53 2013	(r312404)
+++ head/security/dropbear/Makefile	Sun Feb 17 08:43:16 2013	(r312405)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	dropbear
-# Date created:				20 August 2003
-# Whom:					Clement Laforet <sheepkiller at cultdeadsheep.org>
-#
+# Created by: Clement Laforet <sheepkiller at cultdeadsheep.org>
 # $FreeBSD$
-#
 
 PORTNAME=	dropbear
 PORTVERSION=	2012.55
@@ -11,11 +7,11 @@ CATEGORIES=	security ipv6
 MASTER_SITES=	http://matt.ucc.asn.au/dropbear/releases/
 
 MAINTAINER=	ak at FreeBSD.org
-COMMENT=	An SSH 2 server, designed to be usable in small memory environments
+COMMENT=	SSH 2 server, designed to be usable in small memory environments
 
-GNU_CONFIGURE=	YES
-USE_BZIP2=	YES
-USE_GMAKE=	YES
+GNU_CONFIGURE=	yes
+USE_BZIP2=	yes
+USE_GMAKE=	yes
 
 USE_RC_SUBR=	${PORTNAME}
 
@@ -26,6 +22,9 @@ PLIST_FILES=	bin/dbclient \
 
 PLIST_DIRSTRY=	etc/dropbear
 
+MAN1=	dbclient.1
+MAN8=	dropbear.8 dropbearkey.8
+
 OPTIONS_DEFINE=	STATIC
 
 .include <bsd.port.options.mk>
@@ -43,5 +42,7 @@ post-patch:
 
 post-install:
 	@${MKDIR} ${PREFIX}/etc/dropbear
+	${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/|} ${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${MAN8:S|^|${WRKSRC}/|} ${MAN8PREFIX}/man/man8
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list