1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/www/volta/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

39 lines
951 B
Makefile

# Created by: mahlon
# $FreeBSD$
PORTNAME= volta
PORTVERSION= 0.3.0
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://bitbucket.org/mahlon/volta/downloads/ \
http://dl.dropbox.com/u/7234177/Releases/
MAINTAINER= mahlon@martini.nu
COMMENT= High performance, low resource URI rewriter for Squid
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libcdb.so:databases/tinycdb
USES= gmake pkgconfig lua tar:tgz
ALL_TARGET= ${PORTNAME}
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
PLIST_FILES= bin/volta
PORTDOCS= README INSTALL LICENSE ChangeLog
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
${INSTALL_PROGRAM} ${WRKSRC}/volta ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>