freebsd-ports/irc/bopm/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: bopm
# Date Created: 2004.08.06
# Whom: Evgueni V. Gavrilov <aquatique@rusunix.org>
#
# $FreeBSD$
#
PORTNAME= bopm
PORTVERSION= 3.1.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
LOGDIR= /var/log/${PORTNAME}
USE_AUTOTOOLS= libtool:22
LIBTOOLFILES= configure src/libopm/configure
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --localstatedir=${LOGDIR}
USE_LDCONFIG= yes
USE_RC_SUBR= bopm
SUB_FILES= pkg-message pkg-install pkg-deinstall
PLIST_SUB= LOGDIR=${LOGDIR}
SUB_LIST= LOGDIR=${LOGDIR}
pre-su-install:
@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-patch:
@${REINPLACE_CMD} \
-e 's,data_DATA = bopm.conf.sample,data_DATA =,g' \
-e 's,$(sysconfdir)/bopm.conf,$(sysconfdir)/bopm.conf.sample,g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} \
-e 's,/some/path/bopm.pid,${LOGDIR}/bopm.pid,g' \
-e 's,/some/path/scan.log,${LOGDIR}/scan.log,g' \
${WRKSRC}/bopm.conf.sample
post-install:
@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CHOWN} bopm:bopm ${LOGDIR}
@${CHMOD} 750 ${LOGDIR}
@${CHOWN} bopm:bopm ${PREFIX}/etc/bopm.conf.sample
@${CHMOD} 640 ${PREFIX}/etc/bopm.conf.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>