summaryrefslogtreecommitdiffstats
path: root/net/binkd/Makefile
blob: ab0ed7d8a3aead1bd142d65b801776d23096d111 (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
# New ports collection makefile for:	binkd
# Date created:		19 August 1998
# Whom:			Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	binkd
PORTVERSION=	0.9.4
CATEGORIES=	net
MASTER_SITES=	http://2f.ru/binkd/
DISTNAME=	binkd094

MAINTAINER=	dsh@vlink.ru

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_ZIP=	yes
GNU_CONFIGURE=	yes

MAN8=		binkd.8

.if defined(WITH_AMIGA4D)
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	binkdaso.diff
DEFINES+=	-DAMIGADOS_4D_OUTBOUND
MAKE_ENV+=	DEFINES="${DEFINES}"
.endif

pre-configure:
	@ ${CP} ${WRKSRC}/mkfls/unix/* ${WRKSRC}
	@ ${CHMOD} a+x ${WRKSRC}/configure

do-install:
	@ ${INSTALL_PROGRAM} ${WRKSRC}/binkd ${PREFIX}/sbin
	@ ${INSTALL_MAN} ${WRKSRC}/binkd.8 ${PREFIX}/man/man8
	@ ${INSTALL_DATA} ${WRKSRC}/binkd.cfg ${PREFIX}/etc/binkd.cfg.sample

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/binkd
	@ ${INSTALL_DATA} ${WRKSRC}/!README ${PREFIX}/share/doc/binkd/README
	@ ${INSTALL_DATA} ${WRKSRC}/!README.FIX ${PREFIX}/share/doc/binkd/README.FIX
	@ ${INSTALL_DATA} ${WRKSRC}/!SRIF.TXT ${PREFIX}/share/doc/binkd/SRIF.TXT
	@ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/binkd
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud