mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
369a4df55d
PR: ports/167585 Submitted by: maintainer
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# New ports collection makefile for: volta
|
|
# Date created: 28 November 2011
|
|
# Whom: mahlon
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= volta
|
|
DISTVERSION= 0.1.1
|
|
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
|
|
|
|
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>
|