aboutsummaryrefslogtreecommitdiffstats
path: root/palm/malsync/Makefile
blob: df99aaa3ddf6ba0ffbe308cce2ef6a5f904be9c0 (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
# ports collection makefile for:    malsync
# Date created:         Tue Feb 22 00:06:07 CET 2000
# Whom:             Dirk Froemberg <dirk@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   malsync
PORTVERSION=    2.20
PORTREVISION=   1
CATEGORIES= palm
MASTER_SITES=   http://www.tomw.org/malsync/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= fenner
DISTNAME=   malsync_2.2.0.src

MAINTAINER= ports@freebsd.org
COMMENT=    Sync to Mobile Application Link (MAL) compliant servers

LIB_DEPENDS=    pisock.9:${PORTSDIR}/palm/pilot-link

BROKEN=     Does not build with new pilot-link
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2007-04-10

# Code is not 64-bit clean
NOT_FOR_ARCH=   amd64

PLIST_FILES=    bin/malsync
USE_GMAKE=  yes
USE_PERL5_BUILD=yes
WRKSRC=     ${WRKDIR}/malsync

pre-patch:
    @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
        ${WRKSRC}/mal/client/unix/MAL31DBConfig.c

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/malsync ${PREFIX}/bin

.include <bsd.port.mk>