1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/irc/bopm/Makefile
Tijl Coosemans 5b6c7671ef Create a subdirectory of /var/run that is writeable by the bopm user and
put the pidfile there.

Tested by:	Michael D <me@md-5.net>
2014-11-22 20:04:49 +00:00

36 lines
791 B
Makefile

# Created by: Evgueni V. Gavrilov <aquatique@rusunix.org>
# $FreeBSD$
PORTNAME= bopm
PORTVERSION= 3.1.3
PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= http://static.blitzed.org/www.blitzed.org/bopm/files/ \
ftp://rusunix.org/pub/FreeBSD/distfiles/
MAINTAINER= ports@FreeBSD.org
COMMENT= Open proxy and DNSBL monitor designed for use with ircds
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/log/bopm
INSTALL_TARGET= install-strip
USES= libtool
USE_LDCONFIG= yes
USE_RC_SUBR= bopm
USERS= bopm
GROUPS= bopm
MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} \
-e 's,/some/path/bopm.pid,/var/run/bopm/bopm.pid,g' \
-e 's,/some/path/scan.log,/var/log/bopm/scan.log,g' \
${WRKSRC}/bopm.conf.sample
post-stage:
@${MKDIR} ${STAGEDIR}/var/run/bopm
.include <bsd.port.mk>