mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- add stage support
- bump PORTREVISION - add USES=libtool:keepla - add LICENSE - fix pkg-plist (do not try to remove mail/dovecot folders) PR: ports/189079 Submitted by: ohauer Reviewed by: maintainer timeout (3 weeks)
This commit is contained in:
parent
d54e445665
commit
92e1526078
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354441
@ -4,18 +4,22 @@
|
||||
PORTNAME= dovecot-sieve
|
||||
PORTVERSION= ${DOVECOTVERSION}+${DISTVERSION}
|
||||
DISTVERSION= 0.1.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.rename-it.nl/dovecot/${DOVECOTVERSION}/
|
||||
DISTNAME= ${PORTNAME:C/-/-${DOVECOTVERSION}-/}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERSIONSUFFIX}
|
||||
|
||||
MAINTAINER= yds@CoolRat.org
|
||||
COMMENT= A Sieve plugin for the Dovecot 'deliver' LDA
|
||||
COMMENT= Sieve plugin for the Dovecot 'deliver' LDA
|
||||
|
||||
LICENSE= LGPL21
|
||||
|
||||
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
|
||||
RUN_DEPENDS= dovecot>=${DOVECOTVERSION}.*:${PORTSDIR}/mail/dovecot
|
||||
|
||||
DOVECOTVERSION= 1.2
|
||||
|
||||
USES= libtool:keepla
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
||||
@ -26,15 +30,10 @@ USE_LDCONFIG= ${PREFIX}/lib/dovecot/lda
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
MAN1= sieve-test.1 sievec.1 sieved.1
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/-/\//}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= AUTHORS COPYING COPYING.LGPL INSTALL NEWS README TODO spamtest-virustest.txt
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '\
|
||||
s!/doc/$${PACKAGE_TARNAME}!/doc/${PORTNAME:S/-/\//}!g;\
|
||||
@ -47,12 +46,8 @@ post-patch:
|
||||
@${LN} -f ${WRKSRC}/doc/spamtest-virustest.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}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dovecot/lda/lib90_sieve_plugin.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -4,5 +4,6 @@ bin/sieved
|
||||
lib/dovecot/lda/lib90_sieve_plugin.a
|
||||
lib/dovecot/lda/lib90_sieve_plugin.la
|
||||
lib/dovecot/lda/lib90_sieve_plugin.so
|
||||
@dirrmtry lib/dovecot/lda
|
||||
@dirrmtry lib/dovecot
|
||||
man/man1/sieve-test.1.gz
|
||||
man/man1/sievec.1.gz
|
||||
man/man1/sieved.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user