aboutsummaryrefslogtreecommitdiffstats
path: root/news/fidogate-ds/Makefile
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-07-13 02:53:44 +0800
committersem <sem@FreeBSD.org>2004-07-13 02:53:44 +0800
commit4b7f78c403d4a8ceb1ef353ee9765ecbd6e1a875 (patch)
tree908a384663e32be2ec4b2da721742db8d8e79cdb /news/fidogate-ds/Makefile
parenta8e6a969eb9a4ed22e54a9928dd1c9884cf10b45 (diff)
downloadfreebsd-ports-gnome-4b7f78c403d4a8ceb1ef353ee9765ecbd6e1a875.tar.gz
freebsd-ports-gnome-4b7f78c403d4a8ceb1ef353ee9765ecbd6e1a875.tar.zst
freebsd-ports-gnome-4b7f78c403d4a8ceb1ef353ee9765ecbd6e1a875.zip
DS fork of fidogate. It can be used as:
* Fido-Internet Gateway * Fido FTN-FTN Gateway * Fido Mail Processor * Fido File Processor * Fido Areafix/Filefix PR: ports/68878 Submitted by: Andrey Slusar <vasallia@ukr.net> Approved by: krion (mentor)
Diffstat (limited to 'news/fidogate-ds/Makefile')
-rw-r--r--news/fidogate-ds/Makefile103
1 files changed, 103 insertions, 0 deletions
diff --git a/news/fidogate-ds/Makefile b/news/fidogate-ds/Makefile
new file mode 100644
index 000000000000..a28e64f60edf
--- /dev/null
+++ b/news/fidogate-ds/Makefile
@@ -0,0 +1,103 @@
+# New ports collection makefile for: fidogateds
+# Whom: Andrey Slusar <vasallia@ukr.net>
+# Date created: 9 Feb 2004
+# $FreeBSD$
+#
+
+PORTNAME= fidogate
+PORTVERSION= 5.1.1
+CATEGORIES= news mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= rusfidogate
+PKGNAMESUFFIX= -ds
+DISTNAME= fidogate${PORTVERSION}ds
+
+MAINTAINER= vasallia@ukr.net
+COMMENT= Fido-Internet Gateway and Tosser
+
+.if !defined(WITHOUT_INN)
+BUILD_DEPENDS= ${LOCALBASE}/news/bin/innconfval:${PORTSDIR}/news/inn
+.endif
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_PERL5= yes
+
+SPOOLDIR?=/var/spool/fido/gate
+BTBASEDIR?=/var/spool/fido/bt
+LOCKDIR?=/var/run/fidogate
+LOGDIR?=/var/log/fido/gate
+VARDIR?=${PREFIX}/var/fidogate
+
+PLIST_SUB+= SPOOLDIR=${SPOOLDIR} \
+ BTBASEDIR=${BTBASEDIR} \
+ LOGDIR=${LOGDIR} \
+ LOCKDIR=${LOCKDIR} \
+ VARDIR=${VARDIR} \
+ PREFIX=${PREFIX}
+
+HAS_CONFIGURE= yes
+.if defined(WITHOUT_INN)
+CONFIGURE_ARGS+= --without-news
+.endif
+.if !defined(WITH_BSO)
+CONFIGURE_ARGS+= --enable-amiga-out
+.endif
+.if !defined(WITH_DESCDIR)
+CONFIGURE_ARGS+= --disable-desc-dir
+.endif
+.if !defined(WITHOUT_ALIASES)
+CONFIGURE_ARGS+= --enable-aliases-local
+.endif
+.if defined(WITH_DBC)
+CONFIGURE_ARGS+= --enable-dbc-history
+.endif
+.if defined(DNT_NETMAIL)
+CONFIGURE_ARGS+= --enable-dnt-netmail
+.endif
+.if defined(WITHOUT_FMSGID)
+CONFIGURE_ARGS+= --disable-fs-msgid
+.endif
+.if !defined(WITH_AVAIL)
+CONFIGURE_ARGS+= --disable-af-avail
+.endif
+.if defined(WITHOUT_BEST_AKA)
+CONFIGURE_ARGS+= --disable-best-aka
+.endif
+CONFIGURE_ARGS+= --libexec=${PREFIX}/libexec/fidogate \
+ --sysconfdir=${PREFIX}/etc/fido/gate \
+ --libdir=${PREFIX}/lib/fidogate \
+ --with-lockdir=${LOCKDIR} \
+ --with-logdir=${LOGDIR} \
+ --with-vardir=${VARDIR} \
+ --with-spooldir=${SPOOLDIR} \
+ --with-btbasedir=${BTBASEDIR}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+DOCS= doc/README.ru doc/README doc/FAQ.ru ChangeLog Changes.ru \
+ doc/old/FAQ_fidogate doc/old/FIDOGATE_ftrack doc/old/README.snp \
+ doc/old/fidogate.txt doc/old/fidogate.texi doc/old/msgid.doc
+
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+.for a in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
+.endfor
+ ${MKDIR} ${EXAMPLESDIR}
+.for a in point inn postfix sendmail
+ ${MKDIR} ${EXAMPLESDIR}/${a}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/point/areas ${EXAMPLESDIR}/point/areas
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/point/areas.bbs ${EXAMPLESDIR}/point/areas.bbs
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/point/fidogate.conf ${EXAMPLESDIR}/point/fidogate.conf
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/point/newsfeeds ${EXAMPLESDIR}/point/newsfeeds
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/point/packing ${EXAMPLESDIR}/point/packing
+ ${INSTALL_DATA} ${WRKSRC}/doc/examples/point/routing ${EXAMPLESDIR}/point/routing
+ ${INSTALL_DATA} ${WRKSRC}/doc/news/inn/newsfeeds.fidogate ${EXAMPLESDIR}/inn/newsfeeds.fidogate
+ ${INSTALL_DATA} ${WRKSRC}/doc/mailer/postfix/master.cf ${EXAMPLESDIR}/postfix/master.cf
+ ${INSTALL_DATA} ${WRKSRC}/doc/mailer/postfix/transport ${EXAMPLESDIR}/postfix/transport
+ ${INSTALL_DATA} ${WRKSRC}/doc/mailer/sendmail/mailer/ftn.m4 ${EXAMPLESDIR}/sendmail/ftn.m4
+.endif
+
+.include <bsd.port.mk>