freebsd-ports/news/fidogate/Makefile

73 lines
1.8 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 10:33:04 -04:00
# $FreeBSD$
#
PORTNAME= fidogate
PORTVERSION= 4.4.2
2000-04-17 19:47:44 -04:00
CATEGORIES= news mail
MASTER_SITES= ftp://ftp.fidogate.org/pub/fidogate/ \
2000-04-17 19:47:44 -04:00
ftp://ftp.fu-berlin.de/unix/news/fidogate/ \
http://www.fidogate.org/pub/fidogate/
MASTER_SITE_SUBDIR= system/fido
MAINTAINER= dirk.meyer@dinoex.sub.org
# 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)
FORBIDDEN= indefinite hang
.endif
USE_GMAKE= yes
USE_PERL5= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-perl
.endif
pre-configure:
@${MV} ${WRKSRC}/config.make ${WRKSRC}/config.make.sed
@${SED} -e 's/\$${PREFIX}/${PREFIX:S/\//\\\//g}/g' \
< ${WRKSRC}/config.make.sed > ${WRKSRC}/config.make
pre-install:
${MKDIR} ${PREFIX}/libexec/fidogate
${MKDIR} ${PREFIX}/share/doc/fidogate/html
${MKDIR} ${PREFIX}/share/doc/fidogate/info
${MKDIR} ${PREFIX}/share/doc/fidogate/fido
${MKDIR} ${PREFIX}/share/doc/fidogate/howto
${MKDIR} ${PREFIX}/share/doc/fidogate/misc
${MKDIR} ${PREFIX}/share/doc/fidogate/gatebau
2000-04-17 19:47:44 -04: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
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/fidogate
@cd ${WRKSRC}/doc; tar cf - ${DOCLIST} |\
(cd ${PREFIX}/share/doc/fidogate; tar xf -)
${MKDIR} ${PREFIX}/share/examples/fidogate
@cd ${WRKSRC}/examples; tar cf - . |\
(cd ${PREFIX}/share/examples/fidogate; tar xf -)
.endif
.include <bsd.port.post.mk>