and not the port it was copied from. - Fix PORTNAME so no version number is hardcoded and add DISTNAME to fetch the correct tarball. - Change the COMMENT to be more descriptive. Change RUN_DEPENDS to reference the installed ports and versions being depended on. - Fix CONFIGURE_ARGS to use ${MAKE} rather than hardcoding "make" and split to multiple lines for readability. PR: ports/126059 Submitted by: Yarema <yds@CoolRat.org> Approved by: portmgr, linimon (maintainer on vacation)
30 lines
1,016 B
Makefile
30 lines
1,016 B
Makefile
# New ports collection makefile for: dovecot-managesieve
|
|
# Date created: 2008-07-05
|
|
# Whom: Geoffroy Desvernay <dgeo@ec-marseille.fr>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dovecot-managesieve
|
|
PORTVERSION= 0.10.3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
|
|
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
|
|
|
|
MAINTAINER= dgeo@ec-marseille.fr
|
|
COMMENT= Dovecot ManageSieve Server daemon
|
|
|
|
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build \
|
|
${NONEXISTENT}:${PORTSDIR}/mail/dovecot-sieve:build
|
|
RUN_DEPENDS= dovecot>=1.1.*:${PORTSDIR}/mail/dovecot \
|
|
dovecot-sieve>=1.1.*:${PORTSDIR}/mail/dovecot-sieve
|
|
|
|
DOVECOTVERSION= 1.1
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
--with-dovecot=`${MAKE} -C ${PORTSDIR}/mail/dovecot -V WRKSRC` \
|
|
--with-dovecot-sieve=`${MAKE} -C ${PORTSDIR}/mail/dovecot-sieve -V WRKSRC`
|
|
|
|
.include <bsd.port.mk>
|