freebsd-ports/news/fidogate/Makefile

63 lines
1.7 KiB
Makefile
Raw Normal View History

# 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$
#
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
MASTER_SITES= ftp://ftp.fidogate.org/pub/fidogate/ \
2000-04-18 01:47:44 +02:00
ftp://ftp.fu-berlin.de/unix/news/fidogate/ \
http://www.fidogate.org/pub/fidogate/
MASTER_SITE_SUBDIR= system/fido
MAINTAINER= dinoex@FreeBSD.org
2003-02-20 19:26:42 +01:00
COMMENT= Fido-Internet Gateway and Tosser
# you may commet out this line if you have another transfer-agent
RUN_DEPENDS= ${LOCALBASE}/libexec/ifmail/ifcico:${PORTSDIR}/news/ifmail
.if defined(PARALLEL_PACKAGE_BUILD)
IGNORE= indefinite hang
.endif
USE_GMAKE= yes
USE_PERL5= yes
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 \
template.html fido howto misc rfc gatebau/msgid.sgml \
gatebau/msgid.tex gatebau/msgid.txt
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-perl
.endif
pre-configure:
@${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
pre-install:
${MKDIR} ${PREFIX}/libexec/fidogate
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/html ${DOCSDIR}/info ${DOCSDIR}/fido \
${DOCSDIR}/howto ${DOCSDIR}/misc ${DOCSDIR}/gatebau
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@${TAR} -C ${WRKSRC}/doc -cf - ${DOCLIST} | ${TAR} -C ${DOCSDIR} -xf -
${MKDIR} ${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/examples -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
.endif
.include <bsd.port.post.mk>