blob: 00a4475af8f75e0c037cc9304558fb0346ddc70d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# New ports collection makefile for: binkd
# Date created: 19 August 1998
# Whom: 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}
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:
@${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>
|