diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-08-13 14:34:37 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-08-13 14:34:37 +0000 |
commit | 03e5268aaeeabd76978167c358f34c6e3c705723 (patch) | |
tree | 0476eb194c171eed4f157d50c2844ea8782fe37d /net-mgmt/lg/Makefile | |
parent | 2a570486ab6e90a1163f2710bf5b068f6e781439 (diff) |
Notes
Diffstat (limited to 'net-mgmt/lg/Makefile')
-rw-r--r-- | net-mgmt/lg/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-mgmt/lg/Makefile b/net-mgmt/lg/Makefile new file mode 100644 index 000000000000..68960d46ca30 --- /dev/null +++ b/net-mgmt/lg/Makefile @@ -0,0 +1,35 @@ +# Created by: Mathieu Arnold <mat@freebsd.org> +# $FreeBSD$ + +PORTNAME= lg +PORTVERSION= 1.9.s20140622 +MASTER_SITES= LOCAL/mat/lg GH GHC +CATEGORIES= net-mgmt perl5 + +MAINTAINER= mat@freebsd.org +COMMENT= Looking Glass written in Perl as a CGI script + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= Cougar +GH_COMMIT= 0d53e4b +GH_TAGNAME= ${GH_COMMIT} + +USES= perl5 +USE_PERL5= run + +NO_BUILD= 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> |