aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-01-30 06:03:24 +0800
committerpawel <pawel@FreeBSD.org>2014-01-30 06:03:24 +0800
commitf420eee0fd8cb552211d3d7ae6da809453e68ada (patch)
treec566842510f627f3271c9269b22c943a7177e276 /net-mgmt
parenta6884df652c34a80ca2f56c231ea19e9d6d7fc55 (diff)
downloadfreebsd-ports-gnome-f420eee0fd8cb552211d3d7ae6da809453e68ada.tar.gz
freebsd-ports-gnome-f420eee0fd8cb552211d3d7ae6da809453e68ada.tar.zst
freebsd-ports-gnome-f420eee0fd8cb552211d3d7ae6da809453e68ada.zip
- Update to 1.3
- Update maintainer's email - Change license from BSD to BSD2CLAUSE - Allow staging PR: ports/186041 Submitted by: maintainer
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ssgless/Makefile17
-rw-r--r--net-mgmt/ssgless/files/ssgless.in1
-rw-r--r--net-mgmt/ssgless/pkg-message1
3 files changed, 6 insertions, 13 deletions
diff --git a/net-mgmt/ssgless/Makefile b/net-mgmt/ssgless/Makefile
index b1725b318af1..d565aea8149b 100644
--- a/net-mgmt/ssgless/Makefile
+++ b/net-mgmt/ssgless/Makefile
@@ -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>
diff --git a/net-mgmt/ssgless/files/ssgless.in b/net-mgmt/ssgless/files/ssgless.in
index a8f8fa44391f..a5bc6817f8ca 100644
--- a/net-mgmt/ssgless/files/ssgless.in
+++ b/net-mgmt/ssgless/files/ssgless.in
@@ -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%% "$@"
diff --git a/net-mgmt/ssgless/pkg-message b/net-mgmt/ssgless/pkg-message
deleted file mode 100644
index 7b6835962b17..000000000000
--- a/net-mgmt/ssgless/pkg-message
+++ /dev/null
@@ -1 +0,0 @@
-usage: ssgless -x3 ssg-device_cfg.txt