# Created by: Mathieu Arnold # $FreeBSD$ PORTNAME= lg PORTVERSION= 1.9.s20140622 PORTREVISION= 1 MASTER_SITES= LOCAL/mat/lg GH CATEGORIES= net-mgmt perl5 MAINTAINER= mat@FreeBSD.org COMMENT= Looking Glass written in Perl as a CGI script LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= DOCS USE_GITHUB= yes GH_ACCOUNT= Cougar GH_TAGNAME= 0d53e4b USES= perl5 shebangfix SHEBANG_FILES= lg.cgi makeaslist.pl makedb.pl USE_PERL5= run NO_BUILD= yes NO_ARCH= yes do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_SCRIPT} ${WRKSRC}/lg.cgi ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${INSTALL_DATA} lg.conf favicon.ico ${STAGEDIR}${WWWDIR} ${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${INSTALL_SCRIPT} makeaslist.pl makedb.pl ${STAGEDIR}${DATADIR} cd ${WRKSRC} && ${INSTALL_DATA} as.txt communities.txt ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} CHANGELOG COPYING README ${STAGEDIR}${DOCSDIR} .include