1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/mail/dovecot2-pigeonhole/Makefile
Michael Scheidell 4a8edb980d mail/dovecot2
- Update to 2.0.18
- Changes: http://dovecot.org/list/dovecot-news/2012-February/000210.html

mail/dovecot2-pigeonhole
- Update to 0.2.6
- Changes: http://dovecot.org/list/dovecot-news/2012-February/000211.html

PR:		ports/165176
Submitted by:	Jase Thew <freebsd@beardz.net>
Approved by:	bra@fsn.hu (maintainer), gabor (mentor, implicit)
2012-02-29 12:18:05 +00:00

57 lines
1.6 KiB
Makefile

# New ports collection makefile for: dovecot-pigeonhole
# Date created: 2006-12-29
# Whom: Nils Vogels <nivo+kw+ports.bfa274@is-root.com>
#
# $FreeBSD$
#
PORTNAME= dovecot-pigeonhole
PORTVERSION= 0.2.6
CATEGORIES= mail
MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${PORTVERSION}
MAINTAINER= bra@fsn.hu
COMMENT= A Sieve plugin for the Dovecot 'deliver' LDA and LMTP
BUILD_DEPENDS= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
RUN_DEPENDS= dovecot>=${DOVECOTVERSION}:${PORTSDIR}/mail/dovecot${DOVECOTVERSION:R}
DOVECOTVERSION= 2.0
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} \
--docdir=${DOCSDIR} \
--with-dovecot="${LOCALBASE}/lib/dovecot"
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= ${PREFIX}/lib/dovecot
MAN1= sieve-dump.1 sieve-test.1 sievec.1 sieved.1
MAN7= pigeonhole.7
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-/\//}
.if !defined(NOPORTDOCS)
PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt vacation.txt
.endif
post-patch:
@${REINPLACE_CMD} -e '\
s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
s!$${docdir}/dovecot/sieve!$${docdir}!g;\
' ${WRKSRC}/configure
@${LN} -f ${WRKSRC}/doc/spamtest-virustest.txt ${WRKSRC}/
@${LN} -f ${WRKSRC}/doc/vacation.txt ${WRKSRC}/
post-install:
.if !defined(NOPORTDOCS)
${INSTALL} ${_SHROWNGRP} -m ${BINMODE} -d ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>