aboutsummaryrefslogtreecommitdiffstats
path: root/www/volta/Makefile
blob: 1fa69a4009d6d389c0d413060e783a80e82379ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: mahlon
# $FreeBSD$

PORTNAME=   volta
DISTVERSION=    0.2.0
CATEGORIES= www
MASTER_SITES=   http://dl.dropbox.com/u/7234177/Releases/ \
        http://projects.martini.nu/volta/chrome/site/
EXTRACT_SUFX=   .tgz

MAINTAINER= mahlon@martini.nu
COMMENT=    A high performance, low resource URI rewriter for Squid

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  cdb:${PORTSDIR}/databases/tinycdb

USES=       pkgconfig
USE_GMAKE=  yes
USE_LUA=    5.1
ALL_TARGET= ${PORTNAME}
NO_INSTALL= yes

CFLAGS+=    -I${PREFIX}/include
LDFLAGS+=   -L${PREFIX}/lib

PLIST_FILES=    bin/volta
PORTDOCS=   README INSTALL LICENSE ChangeLog
SUB_FILES=  pkg-message

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif
    ${INSTALL_PROGRAM} ${WRKSRC}/volta ${PREFIX}/bin
    @${ECHO_CMD} ""
    @${CAT} ${PKGMESSAGE}
    @${ECHO_CMD} ""

.include <bsd.port.mk>