diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2014-05-31 10:57:17 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2014-05-31 10:57:17 +0000 |
commit | 9f347da8614cad61011990dc53ce2e7274892fd4 (patch) | |
tree | a4845d8f5191d939763f9c49c1d155008f6eb765 /mail/up-imapproxy | |
parent | 5a492baf3b66351480ee42f6ab6c94bfd6671852 (diff) | |
download | ports-9f347da8614cad61011990dc53ce2e7274892fd4.tar.gz ports-9f347da8614cad61011990dc53ce2e7274892fd4.zip |
Notes
Diffstat (limited to 'mail/up-imapproxy')
-rw-r--r-- | mail/up-imapproxy/Makefile | 17 | ||||
-rw-r--r-- | mail/up-imapproxy/pkg-plist | 3 |
2 files changed, 8 insertions, 12 deletions
diff --git a/mail/up-imapproxy/Makefile b/mail/up-imapproxy/Makefile index 10b6469dc62b..8d59a3c192f1 100644 --- a/mail/up-imapproxy/Makefile +++ b/mail/up-imapproxy/Makefile @@ -3,7 +3,7 @@ PORTNAME= imapproxy PORTVERSION= 1.2.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= mail MASTER_SITES= SF/squirrelmail/imap_proxy/${PORTVERSION} PKGNAMEPREFIX= up- @@ -17,8 +17,7 @@ LICENSE= GPLv2 # (or later) OPTIONS_DEFINE= DOVECOT DOCS DOVECOT_DESC= Use with dovecot2 -USE_BZIP2= yes -USES= pathfix +USES= tar:bzip2 pathfix USE_OPENSSL= yes USE_AUTOTOOLS= autoheader CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} @@ -30,28 +29,26 @@ SUB_FILES= pkg-message DOCS= ChangeLog README README.debian README.known_issues README.ssl SBIN= in.imapproxyd pimpstat -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOVECOT} SUB_LIST+= DOVECOT="dovecot" -RUN_DEPENDS+= dovecot>=1.0:${PORTSDIR}/mail/dovecot2 +RUN_DEPENDS+= dovecot:${PORTSDIR}/mail/dovecot2 .else SUB_LIST+= DOVECOT="" .endif do-install: .for i in ${SBIN} - (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${PREFIX}/sbin) + (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/sbin) .endfor (cd ${WRKSRC}/scripts && ${INSTALL_DATA} imapproxy.conf \ - ${PREFIX}/etc/imapproxyd.conf.sample) + ${STAGEDIR}${PREFIX}/etc/imapproxyd.conf.sample) .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${DOCS} - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .endif - @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/mail/up-imapproxy/pkg-plist b/mail/up-imapproxy/pkg-plist index 77325fd0e3c2..9018fabcf2ae 100644 --- a/mail/up-imapproxy/pkg-plist +++ b/mail/up-imapproxy/pkg-plist @@ -1,5 +1,4 @@ -@unexec if cmp -s %D/etc/imapproxyd.conf.default %D/etc/imapproxyd.conf; then rm -f %D/etc/imapproxyd.conf; fi -etc/imapproxyd.conf.sample +@sample etc/imapproxyd.conf.sample sbin/pimpstat sbin/in.imapproxyd %%PORTDOCS%%%%DOCSDIR%%/ChangeLog |