1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/irc/bopm/Makefile
Mathieu Arnold 8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00

36 lines
793 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-install:
@${MKDIR} ${STAGEDIR}/var/run/bopm
.include <bsd.port.mk>