summaryrefslogtreecommitdiff
path: root/palm/coldsync/Makefile
blob: 06500b108cd44323ff3d61e1f9f569d61ca59405 (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:	coldsync
# Date created:		27 January 2000
# Whom:			Andrew Arensburger <arensb+freebsd-ports@ooblick.com>
#
# $FreeBSD$
#

PORTNAME=	coldsync
PORTVERSION=	2.1.2
CATEGORIES=	palm comms
MASTER_SITES=	http://www.ooblick.com/software/coldsync/

MAINTAINER=	arensb+freebsd-ports@ooblick.com

RUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Palm/PDB.pm:${PORTSDIR}/palm/p5-Palm

GNU_CONFIGURE=	yes

# The ColdSync.3 man page describes a Perl package. That's why it goes
# in the Perl manpage directory.
MAN1=		send-mail.1 \
		todo-text.1
MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		ColdSync.3 \
		ColdSync::SPC.3
MAN8=		coldsync.8
MANCOMPRESSED=	no

.include <bsd.port.pre.mk>

CONFIGURE_ARGS+=	--with-i18n

# I don't know how to test for a version of {Net,Open}BSD that supports USB.
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 400000
CONFIGURE_ARGS+=	--with-usb
.endif

post-install:
	@install-info ${PREFIX}/info/conduits.info ${PREFIX}/info/dir

.include <bsd.port.post.mk>