mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
132e07d309
if (and only if) there is a password set on the Palm. The Palm claims that the desktop software is too old and should be upgraded. The patch below (essentially stolen from ColdSync 3.0) makes ColdSync claim that it supports DLP 1.3. Fix .info-handling while here PR: ports/69212 Submitted by: Helge Oldach Approved by: maintainer timeout
75 lines
2.2 KiB
Makefile
75 lines
2.2 KiB
Makefile
# New ports collection makefile for: coldsync
|
|
# Date created: 27 January 2000
|
|
# Whom: Andrew Arensburger <arensb+freebsd-ports@ooblick.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= coldsync
|
|
PORTVERSION= 2.2.5
|
|
PORTREVISION= 4
|
|
CATEGORIES= palm comms
|
|
MASTER_SITES= http://www.coldsync.org/download/
|
|
|
|
MAINTAINER= arensb+freebsd-ports@ooblick.com
|
|
COMMENT= Synchronize a PalmPilot with a Unix workstation
|
|
|
|
USE_GETTEXT= yes
|
|
USE_REINPLACE= yes
|
|
REINPLACE_ARGS= -i "" -E
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN3= libpconn.3 DlpAddSyncLogEntry.3 DlpCallApplication.3 \
|
|
DlpCleanUpDataBase.3 DlpDeleteRecord.3 DlpEndOfSync.3 \
|
|
DlpGetSysDateTime.3 DlpMoveCategory.3 DlpOpenConduit.3 \
|
|
DlpOpenDB.3 DlpRPC.3 DlpReadAppBlock.3 \
|
|
DlpReadAppPreference.3 DlpReadDBList.3 DlpReadFeature.3 \
|
|
DlpReadNetSyncInfo.3 DlpReadOpenDBInfo.3 \
|
|
DlpReadRecordByID.3 DlpReadRecordIDList.3 \
|
|
DlpReadResourceByIndex.3 DlpReadStorageInfo.3 \
|
|
DlpReadSysInfo.3 DlpReadUserInfo.3 DlpResetRecordIndex.3 \
|
|
DlpResetSyncFlags.3 DlpResetSystem.3 DlpWriteRecord.3 \
|
|
DlpWriteResource.3 PConnClose.3 PConn_bind.3 \
|
|
RDLP_Backlight.3 RDLP_BatteryDialog.3 \
|
|
RDLP_GetOSVersionString.3 RDLP_MemHandleNew.3 \
|
|
RDLP_PluggedIn.3 RDLP_ROMToken.3 new_PConnection.3 \
|
|
time_dlp2palmtime.3 libpdb.3 new_Record.3 \
|
|
new_pdb.3 pdb_AppendRecord.3 pdb_CopyRecord.3 \
|
|
pdb_DeleteRecordByID.3 pdb_FindRecordByID.3 \
|
|
pdb_LoadHeader.3 pdb_Read.3
|
|
MAN8= coldsync.8
|
|
MANCOMPRESSED= no
|
|
|
|
INFO= conduits
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= "Fails to link on sparc64"
|
|
.endif
|
|
|
|
CFLAGS+= -D__BSD_VISIBLE=1
|
|
CONFIGURE_ARGS+= --with-i18n --disable-pedantic --without-perl
|
|
|
|
# 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
|
|
.if ${OSVERSION} >= 450000
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,udi\.([A-Za-z0-9]+),udi.udi_\1,g;' \
|
|
-e 's,ur\.([A-Za-z0-9]+),ur.ucr_\1,g;' \
|
|
${WRKSRC}/configure ${WRKSRC}/libpconn/PConnection_usb.c
|
|
.endif
|
|
.endif
|
|
|
|
post-install:
|
|
install-info ${PREFIX}/info/conduits.info ${PREFIX}/info/dir
|
|
${MKDIR} ${PREFIX}/include/pconn
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/
|
|
${INSTALL_DATA} ${WRKSRC}/include/pconn/*.h ${PREFIX}/include/pconn/
|
|
|
|
.include <bsd.port.post.mk>
|