mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
d3e4fbe5f6
PR: ports/184189 Submitted by: Vladimir Kondratiev <wulf@mail.mipt.ru> (maintainer)
40 lines
928 B
Makefile
40 lines
928 B
Makefile
# 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=
|
|
|
|
MAINTAINER= wulf@cicgroup.ru
|
|
COMMENT= Convert Cyrus folders to Dovecot
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
|
|
USES= perl5
|
|
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:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} \
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \
|
|
${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
|
|
|
|
.include <bsd.port.mk>
|