aboutsummaryrefslogtreecommitdiff
path: root/net/binkd/Makefile
blob: 7f729e0a316c22651018c4316e985bc658c14876 (plain) (blame)
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
# New ports collection makefile for:	binkd
# Version required:			0.9.2
# Date created:				19 August 1998
# Whom:					Andrey Zakhvatov
#
# $Id: Makefile,v 1.4 1999/05/07 02:30:21 jseger Exp $
#

DISTNAME=		binkd092
PKGNAME=		binkd-0.9.2
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.sut.ru/pub/FidoNet/BinkD/092/ \
			ftp://ftp.aanet.ru/pub/Linux/system/Fido/ \
			http://www.corbina.net/~maloff/binkd/

MAINTAINER=		andy@icc.surw.chel.su

WRKSRC=			${WRKDIR}/${PKGNAME}
USE_ZIP=		yes
GNU_CONFIGURE=		yes
MAN8=			binkd.8

post-extract:
	@ ${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>