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:
parent
3daa195fda
commit
1c840bc3c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341787
@ -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>
|
||||
|
@ -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%% "$@"
|
||||
|
@ -1 +0,0 @@
|
||||
usage: ssgless -x3 ssg-device_cfg.txt
|
Loading…
Reference in New Issue
Block a user