aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mailsync/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-04-17 06:31:18 +0800
committersem <sem@FreeBSD.org>2005-04-17 06:31:18 +0800
commit0d2e42c8e0f0c1c3f3afd4d4fb78a0b6a561c0ac (patch)
tree131b212037c1529060f9699a5c02a06016bf9234 /mail/mailsync/Makefile
parent631cb20ab1388e22df6fb212fa3f262b8f6d8506 (diff)
downloadfreebsd-ports-gnome-0d2e42c8e0f0c1c3f3afd4d4fb78a0b6a561c0ac.tar.gz
freebsd-ports-gnome-0d2e42c8e0f0c1c3f3afd4d4fb78a0b6a561c0ac.tar.zst
freebsd-ports-gnome-0d2e42c8e0f0c1c3f3afd4d4fb78a0b6a561c0ac.zip
- Update to 5.2.1
PR: ports/78241 Submitted by: maintainer
Diffstat (limited to 'mail/mailsync/Makefile')
-rw-r--r--mail/mailsync/Makefile46
1 files changed, 31 insertions, 15 deletions
diff --git a/mail/mailsync/Makefile b/mail/mailsync/Makefile
index 975058be548b..82c031765f48 100644
--- a/mail/mailsync/Makefile
+++ b/mail/mailsync/Makefile
@@ -6,40 +6,56 @@
#
PORTNAME= mailsync
-PORTVERSION= 4.4.4
-PORTREVISION= 1
+PORTVERSION= 5.2.1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_${PORTVERSION}-1
+DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= mt@primats.org.ua
COMMENT= Mailsync is a way of keeping a collection of mailboxes synchronized
LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
-WRKSRC= ${WRKDIR}/${PORTNAME}
-
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes
+USE_OPENSSL= yes
+USE_GCC= 2.95+
+#CONFIGURE_ARGS= CC=gcc --exec-prefix=${PREFIX}
+#CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \
+# --includedir="${PREFIX}/include ${PREFIX}/include/c-client"
+#CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include/c-client"
+
+USE_AUTOMAKE_VER= 19
+USE_AUTOCONF_VER= 259
+USE_AUTOHEADER_VER= 259
USE_REINPLACE= yes
-ALL_TARGET= default
+pre-patch:
+ @${REINPLACE_CMD} -e 's|^aclocal|${ACLOCAL}|; \
+ s|^autoconf|${AUTOCONF}|; s|automake|${AUTOMAKE}|; \
+ s|^autoheader|${AUTOHEADER}|; s|678|9|' ${WRKSRC}/autogen.sh
-MAN1= mailsync.1
+run-autotools:
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
- ${WRKSRC}/examples/mailsync \
- ${WRKSRC}/mailsync.1
+do-configure:
+ cd ${WRKSRC} && ${SH} autogen.sh --exec-prefix=${PREFIX}
+
+MAN1= mailsync.1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/mailsync ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/mailsync.1 ${PREFIX}/man/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/src/mailsync ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/mailsync.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS COPYING NEWS README \
+ THANKS TODO ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ABSTRACT HACKING \
+ mail_open_close_flowchart.dia \
+ mail_open_close_flowchart.svg \
+ mail_open_close_flowchart2.svg ${DOCSDIR}
.endif
${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/mailsync ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/mailsync ${EXAMPLESDIR}
.include <bsd.port.mk>