diff options
-rw-r--r-- | net-mgmt/ssgless/Makefile | 17 | ||||
-rw-r--r-- | net-mgmt/ssgless/files/ssgless.in | 1 | ||||
-rw-r--r-- | net-mgmt/ssgless/pkg-message | 1 |
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 |