aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2014-05-31 18:57:17 +0800
committermadpilot <madpilot@FreeBSD.org>2014-05-31 18:57:17 +0800
commit531651e1fc4c7ade737474ddb279fb614a7ea82a (patch)
treea4845d8f5191d939763f9c49c1d155008f6eb765
parent305cb8f9d0b14bb423f8f2a52bacb29b3d2263fc (diff)
downloadfreebsd-ports-gnome-531651e1fc4c7ade737474ddb279fb614a7ea82a.tar.gz
freebsd-ports-gnome-531651e1fc4c7ade737474ddb279fb614a7ea82a.tar.zst
freebsd-ports-gnome-531651e1fc4c7ade737474ddb279fb614a7ea82a.zip
- Stagify [1]
- Convert to USES=tar [1] - Use @sample pkg directive PR: ports/190199 [1] Submitted by: freebsd@nagilum.org
-rw-r--r--mail/up-imapproxy/Makefile17
-rw-r--r--mail/up-imapproxy/pkg-plist3
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