aboutsummaryrefslogblamecommitdiff
path: root/net-mgmt/ssgless/Makefile
blob: 3a0fc3e7f1e5f78f44c3ba3ba3522d9750bcf180 (plain) (tree)







































                                                                  
# New ports collection makefile for:	ssgless
# Date created:				8 Nov 2011
# Whom:					Pavel I Volkov
#
# $FreeBSD$
#

PORTNAME=	ssgless
PORTVERSION=	1.2
CATEGORIES=	net-mgmt
DISTFILES=

MAINTAINER=	pavelivolkov@googlemail.com
COMMENT=	View ScreenOS configuration files

LICENSE=	BSD

LESS=	`whereis -bq less`

NOFETCHFILES=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
NO_MTREE=	yes

PLIST_FILES=	bin/${PORTNAME} bin/lesspipe-ssg.awk

SUB_FILES=	${PORTNAME} lesspipe-ssg.awk

SUB_LIST=	"AWK=${AWK}" "LESS=${LESS}"

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKDIR}/lesspipe-ssg.awk ${PREFIX}/bin

post-install:
	@${ECHO}
	@${CAT} ${PKGMESSAGE}
	@${ECHO}

.include <bsd.port.mk>