mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= binkd
|
|
PORTVERSION= 0.9.9
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://happy.kiev.ua/pub/fidosoft/mailer/binkd/ \
|
|
ftp://ftp.rsu.ru/pub/FreeBSD/ports/distfiles/
|
|
DISTNAME= binkd${PORTVERSION:S/.//g}
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= Fidonet TCP/IP mailer
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
USES= zip
|
|
USE_RC_SUBR= binkd
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
MAN8= binkd.8
|
|
|
|
.if !defined(WITHOUT_AMIGA4D)
|
|
CONFIGURE_ARGS+= --with-aso
|
|
.endif
|
|
|
|
.if !defined(WITHOUT_HTTPS)
|
|
CONFIGURE_ARGS+= --with-https
|
|
.endif
|
|
|
|
NO_STAGE= yes
|
|
pre-configure:
|
|
@${RM} -rf ${WRKSRC}/mkfls/unix/CVS
|
|
@${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>
|