freebsd-ports/net/binkd/Makefile
Max Khon 753ebc8801 - load_rc_config before setting predefined vars
- bump PORTREVISION

PR:		88975
Submitted by:	Boris Kovalenko
Pointy hat to:	fjoe
2005-11-15 20:14:58 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: binkd
# Date created: 19 August 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= binkd
PORTVERSION= 0.9.8
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ftp://happy.kiev.ua/pub/fidosoft/mailer/binkd/ \
ftp://ftp.rsu.ru/pub/FreeBSD/ports/distfiles/
DISTNAME= binkd098
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Fidonet TCP/IP mailer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_ZIP= yes
USE_RC_SUBR= binkd.sh
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN8= binkd.8
.if !defined(WITHOUT_AMIGA4D)
CONFIGURE_ARGS+= --with-aso
.endif
.if !defined(WITHOUT_HTTPS)
CONFIGURE_ARGS+= --with-https
.endif
pre-configure:
@${CP} ${WRKSRC}/mkfls/unix/* ${WRKSRC}/
@${CHMOD} a+x ${WRKSRC}/configure
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/binkd ${PREFIX}/sbin
@${INSTALL_MAN} ${WRKSRC}/binkd.8 ${MANPREFIX}/man/man8
@${INSTALL_DATA} ${WRKSRC}/binkd.cfg ${PREFIX}/etc/binkd.cfg.sample
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/!README ${DOCSDIR}/README
@${INSTALL_DATA} ${WRKSRC}/!README.FIX ${DOCSDIR}/README.FIX
@${INSTALL_DATA} ${WRKSRC}/!SRIF.TXT ${DOCSDIR}/SRIF.TXT
.endif
.include <bsd.port.mk>