7c47779cb9
${PERL5} points to a specific version of perl, say, perl5.22.1, it is fine to use it in a ports Makefile to do Perly things, but ports using it must use ${PERL}, that points to /usr/local/bin/perl so that if the minor version is updated, the shebang keep working. While there, make some ports use shebangfix, regen a few patches, and bump PORTREVISION where a shebang went from PERL5 to PERL. PR: 205367 With hat: portmgr Sponsored by: Absolight
37 lines
888 B
Makefile
37 lines
888 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= ports@FreeBSD.org
|
|
COMMENT= Convert Cyrus folders to Dovecot
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= ${DISTNAME}
|
|
NO_WRKSUBDIR= yes
|
|
|
|
post-extract:
|
|
@${CP} -v ${DISTDIR}/${DISTNAME} ${WRKSRC}
|
|
|
|
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>
|