diff options
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/freepops/Makefile | 36 | ||||
-rw-r--r-- | mail/freepops/distinfo | 2 | ||||
-rw-r--r-- | mail/freepops/files/patch-Makefile | 35 | ||||
-rw-r--r-- | mail/freepops/files/patch-configure.sh | 20 | ||||
-rw-r--r-- | mail/freepops/pkg-descr | 4 | ||||
-rw-r--r-- | mail/freepops/pkg-message | 2 | ||||
-rw-r--r-- | mail/freepops/pkg-plist | 42 |
8 files changed, 142 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index bc92ca86f151..e8f15392277b 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -95,6 +95,7 @@ SUBDIR += filtermail SUBDIR += firemime SUBDIR += firepay + SUBDIR += freepops SUBDIR += ftrack SUBDIR += gbuffy SUBDIR += gdesklets-enhallmail diff --git a/mail/freepops/Makefile b/mail/freepops/Makefile new file mode 100644 index 000000000000..57305d440cca --- /dev/null +++ b/mail/freepops/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: freepops +# Date created: 19 Feb 2005 +# Whom: Filippo Natali <filippo@widestore.net> +# +# $FreeBSD$ +# + +PORTNAME= freepops +PORTVERSION= 0.0.25 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= freepops + +MAINTAINER= filippo@widestore.net +COMMENT= Extensible webmail to pop3 interface + +LIB_DEPENDS= expat.5:${PORTSDIR}/textproc/expat2 \ + curl:${PORTSDIR}/ftp/curl +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison + +MAN1= freepopsd.1 +USE_GMAKE= yes +HAS_CONFIGURE= yes +USE_REINPLACE= yes +CONFIGURE_SCRIPT= configure.sh +CONFIGURE_ARGS= fbsd + +pre-configure: + @${REINPLACE_CMD} -e "s|^WHERE=\/usr\/local\/|WHERE=${PREFIX}\/|g" ${WRKSRC}/${CONFIGURE_SCRIPT} + +post-install: +.if !defined(BATCH) + @${CAT} ${PKGMESSAGE} +.endif + +.include <bsd.port.mk> diff --git a/mail/freepops/distinfo b/mail/freepops/distinfo new file mode 100644 index 000000000000..78d091fa099b --- /dev/null +++ b/mail/freepops/distinfo @@ -0,0 +1,2 @@ +MD5 (freepops-0.0.25.tar.gz) = a95c1b2eb00707e97f250c81ab381ca4 +SIZE (freepops-0.0.25.tar.gz) = 1851032 diff --git a/mail/freepops/files/patch-Makefile b/mail/freepops/files/patch-Makefile new file mode 100644 index 000000000000..82c76c637725 --- /dev/null +++ b/mail/freepops/files/patch-Makefile @@ -0,0 +1,35 @@ +--- ../freepops-0.0.23/Makefile Thu Dec 23 18:36:38 2004 ++++ ./Makefile Mon Feb 14 16:36:23 2005 +@@ -55,20 +55,20 @@ + + install: all + $(H)mkdir -p $(PREFIX) +- $(H)mkdir -p $(PREFIX)bin +- $(H)mkdir -p $(PREFIX)share/freepops/lua/ +- $(H)mkdir -p $(PREFIX)share/freepops/lua_unofficial/ +- $(H)mkdir -p $(PREFIX)share/doc/freepops/ +- $(H)mkdir -p $(PREFIX)share/man/man1/ +- $(H)mkdir -p $(DESTDIR)/etc/freepops +- $(H)cp src/freepopsd$(EXECSUFFIX) $(PREFIX)bin ++ $(H)mkdir -p $(PREFIX)/bin ++ $(H)mkdir -p $(PREFIX)/share/freepops/lua/ ++ $(H)mkdir -p $(PREFIX)/share/freepops/lua_unofficial/ ++ $(H)mkdir -p $(PREFIX)/share/doc/freepops/ ++ $(H)mkdir -p $(PREFIX)/man/man1/ ++ $(H)mkdir -p $(PREFIX)/etc/freepops ++ $(H)cp src/freepopsd$(EXECSUFFIX) $(PREFIX)/bin + $(H)cp src/lua/*.lua modules/include/*.lua config.lua \ +- $(PREFIX)share/freepops/lua/ +- $(H)cp doc/freepopsd.1 $(PREFIX)share/man/man1/ +- $(H)cp doc/manual*.pdf $(PREFIX)share/doc/freepops/ 2>/dev/null ||\ +- cp doc/MANUAL.txt $(PREFIX)share/doc/freepops/ 2>/dev/null || \ ++ $(PREFIX)/share/freepops/lua/ ++ $(H)cp doc/freepopsd.1 $(PREFIX)/man/man1/ ++ $(H)cp doc/manual*.pdf $(PREFIX)/share/doc/freepops/ 2>/dev/null ||\ ++ cp doc/MANUAL.txt $(PREFIX)/share/doc/freepops/ 2>/dev/null || \ + true +- $(H)cp config.lua $(DESTDIR)/etc/freepops/ ++ $(H)cp config.lua $(PREFIX)/etc/freepops/config.lua.sample + + uninstall: + $(H)rm -f $(DESTDIR)/etc/freepops/config.lua diff --git a/mail/freepops/files/patch-configure.sh b/mail/freepops/files/patch-configure.sh new file mode 100644 index 000000000000..558375854933 --- /dev/null +++ b/mail/freepops/files/patch-configure.sh @@ -0,0 +1,20 @@ +--- configure.sh.orig Wed Jan 5 17:13:08 2005 ++++ configure.sh Sat Mar 5 21:29:33 2005 +@@ -23,7 +23,7 @@ + } + + set_default() { +-CC=gcc ++#CC=gcc + LD=ld + AR=ar + STRIP=strip +@@ -36,7 +36,7 @@ + EXEEXTENSION= + STATICEXTENSION=.a + SHAREDEXTENSION=.so +-CFLAGS="-O2 -g3 -Wall -DHAVE_CONFIG_H -I$PWD" ++CFLAGS="$CFLAGS -Wall -DHAVE_CONFIG_H -I$PWD" + HCFLAGS=$CFLAGS + LDFLAGS="" + HLDFLAGS=$LDFLAGS diff --git a/mail/freepops/pkg-descr b/mail/freepops/pkg-descr new file mode 100644 index 000000000000..8c53a5ded95e --- /dev/null +++ b/mail/freepops/pkg-descr @@ -0,0 +1,4 @@ +FreePOPs is an extensible pop3 server. Its main purpose is +to provide a pop3 interface to a webmail. + +WWW: http://www.freepops.org/ diff --git a/mail/freepops/pkg-message b/mail/freepops/pkg-message new file mode 100644 index 000000000000..0823f1b229b1 --- /dev/null +++ b/mail/freepops/pkg-message @@ -0,0 +1,2 @@ +Don't forget to copy ${PREFIX}/etc/freepops/config.lua.sample to +${PREFIX}/etc/freepops/config.lua before running freepopsd diff --git a/mail/freepops/pkg-plist b/mail/freepops/pkg-plist new file mode 100644 index 000000000000..8773d34d7fc5 --- /dev/null +++ b/mail/freepops/pkg-plist @@ -0,0 +1,42 @@ +bin/freepopsd +etc/freepops/config.lua.sample +%%DOCSDIR%%/MANUAL.txt +%%DATADIR%%/lua/aggregator.lua +%%DATADIR%%/lua/aol.lua +%%DATADIR%%/lua/browser.lua +%%DATADIR%%/lua/common.lua +%%DATADIR%%/lua/config.lua +%%DATADIR%%/lua/cookie.lua +%%DATADIR%%/lua/davmail.lua +%%DATADIR%%/lua/flatnuke.lua +%%DATADIR%%/lua/foo.lua +%%DATADIR%%/lua/freepops.lua +%%DATADIR%%/lua/gmail.lua +%%DATADIR%%/lua/hotmail.lua +%%DATADIR%%/lua/httpmail.lua +%%DATADIR%%/lua/kernel.lua +%%DATADIR%%/lua/libero.lua +%%DATADIR%%/lua/lycos.lua +%%DATADIR%%/lua/mailcom.lua +%%DATADIR%%/lua/mimer.lua +%%DATADIR%%/lua/plugins2xml.lua +%%DATADIR%%/lua/popforward.lua +%%DATADIR%%/lua/serialize.lua +%%DATADIR%%/lua/skeleton.lua +%%DATADIR%%/lua/squirrelmail.lua +%%DATADIR%%/lua/supereva.lua +%%DATADIR%%/lua/support.lua +%%DATADIR%%/lua/table2xml.lua +%%DATADIR%%/lua/tin.lua +%%DATADIR%%/lua/tre.lua +%%DATADIR%%/lua/xml2table.lua +%%DATADIR%%/lua/yahoo.lua +@dirrm %%DATADIR%%/lua_unofficial +@dirrm %%DATADIR%%/lua +@dirrm %%DATADIR%% +@dirrm %%DOCSDIR%% +@unexec rmdir %D/etc/freepops 2>/dev/null || true +@exec mkdir -p %D/share/freepops/lua +@exec mkdir -p %D/share/freepops/lua_unofficial +@exec mkdir -p %D/share/doc/freepops +@exec mkdir -p %D/etc/freepops |