aboutsummaryrefslogtreecommitdiffstats
path: root/palm/malsync/Makefile
blob: 062b1bd98ef154b89a3bc5e76986f64bfe747d8f (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
# 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.06
PORTREVISION=   1
CATEGORIES= palm
MASTER_SITES=   http://www.tomw.org/malsync/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= dirk
DISTNAME=   malsync_2.0.6.src

MAINTAINER= dirk@FreeBSD.org

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

USE_GMAKE=  yes
WRKSRC=     ${WRKDIR}/malsync/mal/client/unix

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

pre-build:
    cd ${WRKSRC} && ${GMAKE} clean

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

.include <bsd.port.mk>