openbsd-ports/www/ffproxy/Makefile

35 lines
937 B
Makefile

# $OpenBSD: Makefile,v 1.7 2005/03/09 06:09:47 jolan Exp $
COMMENT= "filtering HTTP proxy server"
DISTNAME= ffproxy-1.6
CATEGORIES= www
MASTER_SITES= http://faith.eu.org/ffproxy/
HOMEPAGE= http://faith.eu.org/programs.html\#ffproxy
MAINTAINER= Johan Fredin <griffin@legonet.org>
# GPL
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= c
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --datadir=/var
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ffproxy
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ffproxy/{db,html}
${INSTALL_DATA} ${WRKBUILD}/README ${PREFIX}/share/doc/ffproxy
${INSTALL_DATA} ${WRKBUILD}/sample.config \
${PREFIX}/share/examples/ffproxy/ffproxy.conf
${INSTALL_DATA} ${WRKBUILD}/db/* ${PREFIX}/share/examples/ffproxy/db/
${INSTALL_DATA} ${WRKBUILD}/html/* \
${PREFIX}/share/examples/ffproxy/html/
.include <bsd.port.mk>