freebsd-ports/irc/bopm/Makefile
Tijl Coosemans 3a740b3d95 - Convert to USES=libtool and add INSTALL_TARGET=install-strip
- Store pid file under /var/run instead of /var/log
- Add patch to fix DESTDIR problems
- Use @sample
- Replace pkg-deinstall and @exec with @dirrmtry
2014-09-08 18:10:14 +00:00

34 lines
766 B
Makefile

# Created by: Evgueni V. Gavrilov <aquatique@rusunix.org>
# $FreeBSD$
PORTNAME= bopm
PORTVERSION= 3.1.3
PORTREVISION= 2
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
LOGDIR= /var/log/${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${LOGDIR}
INSTALL_TARGET= install-strip
USES= libtool
USE_LDCONFIG= yes
USE_RC_SUBR= bopm
PLIST_SUB= LOGDIR=${LOGDIR}
USERS= bopm
GROUPS= bopm
post-patch:
@${REINPLACE_CMD} \
-e 's,/some/path/bopm.pid,/var/run/bopm.pid,g' \
-e 's,/some/path/scan.log,${LOGDIR}/scan.log,g' \
${WRKSRC}/bopm.conf.sample
.include <bsd.port.mk>