summaryrefslogtreecommitdiff
path: root/palm/syncal/Makefile
blob: 038deddd3db3ddda636f3927482ef0d9c23cb44f (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
# New ports collection makefile for:    tclock
# Version required:     1.0.1
# Date created:		So   7 Feb 1999 20:50:43 MET
# Whom:			Lars Koeller <lkoeller@cc.fh-lippe.de>
#
# $Id$
#

DISTNAME=	syncal-0.5
CATEGORIES=	palm comms deskutils
MASTER_SITES=	ftp://ryeham.ee.ryerson.ca/pub/PalmOS/	\
		http://www.daveltd.com/pilot/PalmOS/	\
		ftp://ftp.uni-bielefeld.de/pub/systems/FreeBSD/lkoeller/

MAINTAINER=	Lars.Koeller@Uni-Bielefeled.DE

LIB_DEPENDS=	pisock:${PORTSDIR}/palm/pilot-link
RUN_DEPENDS=	ical:${PORTSDIR}/deskutils/ical

NO_PACKAGE=	patches installed ical port

PREFIX=		${LOCALBASE}/pilot

MAN1=		syncal.1

post-patch:
	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.patched
	${SED} -e "s:@@PREFIX@@:${PREFIX}:g" ${WRKSRC}/Makefile.patched > ${WRKSRC}/Makefile

#
# ical V2.2 needs a little patch, don't know how to do better
# perhaps the patch should be included int ical port by default
# Please have a look at this experts :-)
#
post-install:
	-cd ${LOCALBASE}/lib/ical/v2.2; \
	${PATCH} -f < ${WRKSRC}/ical.patch

.include <bsd.port.mk>