freebsd-ports/net-mgmt/lg/Makefile
Dmitry Marakasov 29d5fde25b - Fix shebangs
- Add NO_ARCH

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
2015-09-11 17:46:18 +00:00

40 lines
999 B
Makefile

# Created by: Mathieu Arnold <mat@freebsd.org>
# $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 <bsd.port.mk>