1998-12-12 04:40:04 +01:00
|
|
|
# New ports collection makefile for: fidogate
|
|
|
|
# Date created: 02 Dez 1997
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
1999-08-30 16:33:04 +02:00
|
|
|
# $FreeBSD$
|
1998-12-12 04:40:04 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:33:32 +02:00
|
|
|
PORTNAME= fidogate
|
2003-06-12 21:27:52 +02:00
|
|
|
PORTVERSION= 4.4.9
|
2000-04-18 01:47:44 +02:00
|
|
|
CATEGORIES= news mail
|
2000-10-12 23:04:11 +02:00
|
|
|
MASTER_SITES= ftp://ftp.fidogate.org/pub/fidogate/ \
|
2000-04-18 01:47:44 +02:00
|
|
|
ftp://ftp.fu-berlin.de/unix/news/fidogate/ \
|
2000-10-12 23:04:11 +02:00
|
|
|
http://www.fidogate.org/pub/fidogate/
|
2000-02-20 16:58:52 +01:00
|
|
|
MASTER_SITE_SUBDIR= system/fido
|
1998-12-12 04:40:04 +01:00
|
|
|
|
2001-06-24 06:28:57 +02:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= Fido-Internet Gateway and Tosser
|
1998-12-12 04:40:04 +01:00
|
|
|
|
|
|
|
# you may commet out this line if you have another transfer-agent
|
1999-10-27 11:43:58 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libexec/ifmail/ifcico:${PORTSDIR}/news/ifmail
|
1998-12-12 04:40:04 +01:00
|
|
|
|
1999-04-23 13:36:51 +02:00
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD)
|
2003-02-07 03:44:21 +01:00
|
|
|
IGNORE= indefinite hang
|
1999-04-23 13:36:51 +02:00
|
|
|
.endif
|
|
|
|
|
1998-12-24 14:03:51 +01:00
|
|
|
USE_GMAKE= yes
|
2000-01-24 06:53:40 +01:00
|
|
|
USE_PERL5= yes
|
1998-12-12 04:40:04 +01:00
|
|
|
|
2002-07-22 20:24:22 +02:00
|
|
|
DOCLIST= fidogate.texi fidogate.txt gatebau94.txt kludge-rfc.doc \
|
|
|
|
msgid.doc qmail.txt texinfo.tex dirs.html index.html \
|
2002-01-06 00:43:13 +01:00
|
|
|
template.html fido howto misc rfc gatebau/msgid.sgml \
|
|
|
|
gatebau/msgid.tex gatebau/msgid.txt
|
|
|
|
|
2000-03-08 17:47:09 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 300000
|
2000-10-08 17:14:30 +02:00
|
|
|
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-perl
|
2000-03-08 17:47:09 +01:00
|
|
|
.endif
|
|
|
|
|
1999-01-18 03:35:15 +01:00
|
|
|
pre-configure:
|
2002-01-06 00:43:13 +01:00
|
|
|
@${PERL5} -pi -e "s=.{PREFIX}=${PREFIX}=g" ${WRKSRC}/config.make
|
|
|
|
.if defined(FIDOGATE_RUNAS)
|
|
|
|
@${PERL5} -pi -e "s/OWNER.*= news/OWNER = ${FIDOGATE_RUNAS}/" \
|
|
|
|
${WRKSRC}/config.make
|
|
|
|
.endif
|
1999-01-18 03:35:15 +01:00
|
|
|
|
1998-12-12 04:40:04 +01:00
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${PREFIX}/libexec/fidogate
|
2002-01-06 00:43:13 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/info ${DOCSDIR}/fido \
|
|
|
|
${DOCSDIR}/howto ${DOCSDIR}/misc ${DOCSDIR}/gatebau
|
|
|
|
.endif
|
1999-01-18 03:35:15 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-06 00:43:13 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
@${TAR} -C ${WRKSRC}/doc -cf - ${DOCLIST} | ${TAR} -C ${DOCSDIR} -xf -
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
@${TAR} -C ${WRKSRC}/examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
|
1999-01-18 03:35:15 +01:00
|
|
|
.endif
|
1998-12-12 04:40:04 +01:00
|
|
|
|
2000-03-08 17:47:09 +01:00
|
|
|
.include <bsd.port.post.mk>
|