2013-07-23 20:35:11 +00:00
|
|
|
# Created by: Vladimir Kondratiev <wulf@mail.mipt.ru>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cyrus2dovecot
|
|
|
|
PORTVERSION= 1.2
|
|
|
|
CATEGORIES= mail
|
|
|
|
MASTER_SITES= http://www.cyrus2dovecot.sw.fu-berlin.de/download/
|
|
|
|
EXTRACT_SUFX=
|
|
|
|
EXTRACT_ONLY=
|
|
|
|
|
2013-11-23 14:14:16 +00:00
|
|
|
MAINTAINER= wulf@cicgroup.ru
|
2013-07-23 20:35:11 +00:00
|
|
|
COMMENT= Convert Cyrus folders to Dovecot
|
|
|
|
|
2013-10-27 20:24:23 +00:00
|
|
|
LICENSE= ART10 GPLv1
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
2013-07-23 20:35:11 +00:00
|
|
|
|
2013-09-04 09:48:54 +00:00
|
|
|
USES= perl5
|
2013-07-23 20:35:11 +00:00
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '1s,^#!.*,#!${PERL},' ${WRKSRC}/${DISTNAME}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
pod2man --section=1 --release=${PORTVERSION} \
|
|
|
|
--name=${PORTNAME} --center=${PORTNAME}" user guide" \
|
|
|
|
${WRKSRC}/${DISTNAME} ${WRKSRC}/${PORTNAME}.1
|
|
|
|
|
|
|
|
do-install:
|
2013-10-27 20:24:23 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
|
|
|
|
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
|
2013-07-23 20:35:11 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|