2000-01-29 05:50:39 +01:00
|
|
|
# New ports collection makefile for: coldsync
|
2000-09-29 17:38:23 +02:00
|
|
|
# Date created: 27 January 2000
|
|
|
|
# Whom: Andrew Arensburger <arensb+freebsd-ports@ooblick.com>
|
2000-01-29 05:50:39 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-13 21:19:05 +02:00
|
|
|
PORTNAME= coldsync
|
2001-08-24 18:41:46 +02:00
|
|
|
PORTVERSION= 2.1.3
|
2002-04-09 04:00:19 +02:00
|
|
|
PORTREVISION= 2
|
2000-01-29 05:50:39 +01:00
|
|
|
CATEGORIES= palm comms
|
|
|
|
MASTER_SITES= http://www.ooblick.com/software/coldsync/
|
|
|
|
|
2000-09-25 10:04:29 +02:00
|
|
|
MAINTAINER= arensb+freebsd-ports@ooblick.com
|
2000-01-29 05:50:39 +01:00
|
|
|
|
2002-03-15 20:44:29 +01:00
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext-old
|
2000-06-03 10:02:57 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Palm/PDB.pm:${PORTSDIR}/palm/p5-Palm
|
|
|
|
|
2000-01-29 05:50:39 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2000-06-03 10:02:57 +02:00
|
|
|
# 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}
|
2000-09-25 10:04:29 +02:00
|
|
|
MAN3= ColdSync.3 \
|
|
|
|
ColdSync::SPC.3
|
2000-01-29 05:50:39 +01:00
|
|
|
MAN8= coldsync.8
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
2000-06-03 10:02:57 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2001-08-23 19:01:05 +02:00
|
|
|
CONFIGURE_ARGS+= --with-i18n
|
|
|
|
|
2000-09-25 10:04:29 +02:00
|
|
|
# I don't know how to test for a version of {Net,Open}BSD that supports USB.
|
2000-06-03 10:02:57 +02:00
|
|
|
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 400000
|
|
|
|
CONFIGURE_ARGS+= --with-usb
|
2002-04-09 04:00:19 +02:00
|
|
|
.if ${OSVERSION} >= 450000
|
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e 's,udi\.(\S+),udi.udi_\1,g;' \
|
|
|
|
-e 's,ur\.(\S+),ur.ucr_\1,g;' \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/libpconn/PConnection_usb.c
|
|
|
|
.endif
|
2000-06-03 10:02:57 +02:00
|
|
|
.endif
|
|
|
|
|
2000-01-29 05:50:39 +01:00
|
|
|
post-install:
|
|
|
|
@install-info ${PREFIX}/info/conduits.info ${PREFIX}/info/dir
|
|
|
|
|
2000-06-03 10:02:57 +02:00
|
|
|
.include <bsd.port.post.mk>
|