1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Update to 1.3

- Update maintainer's email
- Change license from BSD to BSD2CLAUSE
- Allow staging

PR:		ports/186041
Submitted by:	maintainer
This commit is contained in:
Pawel Pekala 2014-01-29 22:03:24 +00:00
parent 3daa195fda
commit 1c840bc3c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341787
3 changed files with 6 additions and 13 deletions

View File

@ -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>

View File

@ -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%% "$@"

View File

@ -1 +0,0 @@
usage: ssgless -x3 ssg-device_cfg.txt