aboutsummaryrefslogtreecommitdiff
path: root/comms/plp/Makefile
blob: 9e0c7d28a43b9ea47baa83e875d4b758b4cd48ac (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
# New ports collection makefile for:	Psion Link Protocol
# Date created:				Tue Nov 30 15:43:27 EST 1999
# Whom:					Maurice Castro <maurice@serc.rmit.edu.au>
#
# $FreeBSD$
#

PORTNAME=	plp
PORTVERSION=	1.8
PORTREVISION=	1
CATEGORIES=	comms
MASTER_SITES=	http://www.proudman51.freeserve.co.uk/psion/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	kris
DISTNAME=	${PORTNAME}_1_8

MAINTAINER=	maurice@castro.aus.net
COMMENT=	Transfer data between a Psion Series 5(mx) and Unix

USE_GMAKE=	yes
USE_REINPLACE=	yes
USE_GCC=	2.95

PLIST_FILES=	bin/ncp bin/rfsv

pre-patch:
.for files in packet.cc socketchan.cc
	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/ncp/${files}
.endfor

do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PLIST_FILES} ${PREFIX}/bin

.include <bsd.port.mk>