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