# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # bincimap # bincimap/Makefile # bincimap/distinfo # bincimap/pkg-descr # bincimap/pkg-plist # echo c - bincimap mkdir -p bincimap > /dev/null 2>&1 echo x - bincimap/Makefile sed 's/^X//' >bincimap/Makefile << 'END-of-bincimap/Makefile' X# New ports collection makefile for: bincimap X# Date created: 27 Mar 2003 X# Whom: Sergei Kolobov X# X# $FreeBSD$ X# X XPORTNAME= bincimap XPORTVERSION= 1.1.4 XCATEGORIES= mail XMASTER_SITES= http://www.bincimap.org/dl/tarballs/ X XMAINTAINER= sergei@kolobov.com XCOMMENT= Light-weight IMAP server for Maildir X XUSE_BZIP2= yes XGNU_CONFIGURE= yes X XCONFIG_DIR?= ${PREFIX}/etc/${PORTNAME} XPLIST_SUB+= CONFIG_DIR="${CONFIG_DIR:S,^${PREFIX}/,,}" X XCONFIGURE_ARGS+= --sysconfdir=${CONFIG_DIR} XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} X X.if defined(WITHOUT_OPENSSL) XCONFIGURE_ARGS+= --without-ssl X.else XCONFIGURE_ARGS+= --with-ssl XUSE_OPENSSL= yes X.endif X XMAN1= bincimap-up.1 bincimapd.1 XMAN5= bincimap.conf.5 XDOCS= AUTHORS ChangeLog README doc/bincimap* X X.include X X.if ${OSVERSION} < 500041 XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" X.endif X Xpost-install: X @${MKDIR} ${CONFIG_DIR} X @cd ${WRKSRC}/conf && \ X ${INSTALL_DATA} bincimap.conf ${CONFIG_DIR} && \ X ${INSTALL_DATA} bincimap.conf ${CONFIG_DIR}/bincimap.conf.sample X.for dir in xinetd supervise/imap/log supervise/imaps/log X @${MKDIR} ${EXAMPLESDIR}/${dir} X.endfor X @cd ${WRKSRC}/conf && \ X ${INSTALL_DATA} xinetd-bincimap ${EXAMPLESDIR}/xinetd/imap && \ X ${INSTALL_DATA} xinetd-bincimaps ${EXAMPLESDIR}/xinetd/imaps X @cd ${WRKSRC}/service && \ X ${INSTALL_DATA} run ${EXAMPLESDIR}/supervise/imap && \ X ${INSTALL_DATA} log/run ${EXAMPLESDIR}/supervise/imap/log && \ X ${INSTALL_DATA} run-ssl ${EXAMPLESDIR}/supervise/imaps/run && \ X ${INSTALL_DATA} log/run ${EXAMPLESDIR}/supervise/imaps/log X @cd ${WRKSRC}/man && \ X ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \ X ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5 X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} X.endif X X.include END-of-bincimap/Makefile echo x - bincimap/distinfo sed 's/^X//' >bincimap/distinfo << 'END-of-bincimap/distinfo' XMD5 (bincimap-1.1.4.tar.bz2) = d0a9631b702260ca26d82612b338e93e END-of-bincimap/distinfo echo x - bincimap/pkg-descr sed 's/^X//' >bincimap/pkg-descr << 'END-of-bincimap/pkg-descr' XBinc IMAP is a GPL licensed IMAP4rev1 server for Maildir, written in C++. XIt strives to be stable, fast, flexible, and RFC compliant. X XFor those familiar with qmail-pop3d, this IMAP server will be the natural Xchoice. It is invoked similarily and uses checkpassword to authenticate. X XAuthor: Andreas Aardal Hanssen XWWW: http://www.bincimap.org/ END-of-bincimap/pkg-descr echo x - bincimap/pkg-plist sed 's/^X//' >bincimap/pkg-plist << 'END-of-bincimap/pkg-plist' Xbin/bincimapd Xbin/bincimap-up X%%CONFIG_DIR%%/bincimap.conf.sample X@unexec rmdir %%CONFIG_DIR%% 2>/dev/null || true X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/bincimap-faq.html X%%PORTDOCS%%%%DOCSDIR%%/bincimap-goals.html X%%PORTDOCS%%%%DOCSDIR%%/bincimap-imapdir.html X%%PORTDOCS%%%%DOCSDIR%%/bincimap-tech.html X%%PORTDOCS%%%%DOCSDIR%%/bincimap.css X%%PORTDOCS%%@dirrm %%DOCSDIR%% X%%EXAMPLESDIR%%/xinetd/imap X%%EXAMPLESDIR%%/xinetd/imaps X@dirrm %%EXAMPLESDIR%%/xinetd X%%EXAMPLESDIR%%/supervise/imap/run X%%EXAMPLESDIR%%/supervise/imap/log/run X@dirrm %%EXAMPLESDIR%%/supervise/imap/log X@dirrm %%EXAMPLESDIR%%/supervise/imap X%%EXAMPLESDIR%%/supervise/imaps/run X%%EXAMPLESDIR%%/supervise/imaps/log/run X@dirrm %%EXAMPLESDIR%%/supervise/imaps/log X@dirrm %%EXAMPLESDIR%%/supervise/imaps X@dirrm %%EXAMPLESDIR%%/supervise X@dirrm %%EXAMPLESDIR%% END-of-bincimap/pkg-plist exit