Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2014 22:03:24 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341787 - in head/net-mgmt/ssgless: . files
Message-ID:  <201401292203.s0TM3OLN070671@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Wed Jan 29 22:03:24 2014
New Revision: 341787
URL: http://svnweb.freebsd.org/changeset/ports/341787
QAT: https://qat.redports.org/buildarchive/r341787/

Log:
  - Update to 1.3
  - Update maintainer's email
  - Change license from BSD to BSD2CLAUSE
  - Allow staging
  
  PR:		ports/186041
  Submitted by:	maintainer

Deleted:
  head/net-mgmt/ssgless/pkg-message
Modified:
  head/net-mgmt/ssgless/Makefile
  head/net-mgmt/ssgless/files/ssgless.in

Modified: head/net-mgmt/ssgless/Makefile
==============================================================================
--- head/net-mgmt/ssgless/Makefile	Wed Jan 29 21:44:59 2014	(r341786)
+++ head/net-mgmt/ssgless/Makefile	Wed Jan 29 22:03:24 2014	(r341787)
@@ -2,21 +2,20 @@
 # $FreeBSD$
 
 PORTNAME=	ssgless
-PORTVERSION=	1.2
+PORTVERSION=	1.3
 CATEGORIES=	net-mgmt
 DISTFILES=
 
-MAINTAINER=	pavelivolkov@googlemail.com
+MAINTAINER=	pavelivolkov@gmail.com
 COMMENT=	View ScreenOS configuration files
 
-LICENSE=	BSD
+LICENSE=	BSD2CLAUSE
 
 LESS=	`whereis -bq less`
 
 NOFETCHFILES=	yes
 NO_BUILD=	yes
 NO_WRKSUBDIR=	yes
-NO_MTREE=	yes
 
 PLIST_FILES=	bin/${PORTNAME} bin/lesspipe-ssg.awk
 
@@ -24,14 +23,8 @@ SUB_FILES=	${PORTNAME} lesspipe-ssg.awk
 
 SUB_LIST=	"AWK=${AWK}" "LESS=${LESS}"
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKDIR}/lesspipe-ssg.awk ${PREFIX}/bin
-
-post-install:
-	@${ECHO}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO}
+	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKDIR}/lesspipe-ssg.awk ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/ssgless/files/ssgless.in
==============================================================================
--- head/net-mgmt/ssgless/files/ssgless.in	Wed Jan 29 21:44:59 2014	(r341786)
+++ head/net-mgmt/ssgless/files/ssgless.in	Wed Jan 29 22:03:24 2014	(r341787)
@@ -1,3 +1,4 @@
 #!/bin/sh
+[ $# -lt 1 ] && echo 'usage:	ssgless -x3 ssg-device_cfg.txt' && echo '	("less --help" for help)' && exit 1
 export LESSOPEN="|%%PREFIX%%/bin/lesspipe-ssg.awk %s"
 exec %%LESS%% "$@"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401292203.s0TM3OLN070671>