aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/multisync/Makefile
blob: 31902bed1dbd139800c2080367a4dcdaad9e4b17 (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
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$

PORTNAME?=  multisync
PORTVERSION=    0.82
PORTREVISION=   11
CATEGORIES= deskutils
MASTER_SITES=   SF/multisync/OldFiles
DISTNAME=   multisync-${PORTVERSION}

MAINTAINER?=    ports@FreeBSD.org
COMMENT?=   Synchronize calendars, addressbooks, and other PIM data

WRKSRC?=    ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRCMASTER=   ${WRKDIR}/multisync-${PORTVERSION}
USE_BZIP2=  yes
USE_GNOME=  gnomeprefix libgnomeui
USES=       gmake pathfix pkgconfig
USE_AUTOTOOLS=  automake:env libtool
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE=   yes

pre-configure:
    @${FIND} ${WRKDIR} -type l -delete
.for FILE in missing install-sh mkinstalldirs config.guess config.sub depcomp
    @${CP} -f ${AUTOMAKE_DIR}/${FILE} ${WRKSRC}
    @${CP} -f ${AUTOMAKE_DIR}/${FILE} ${WRKSRCMASTER}
.endfor
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
        's|-lpthread||'

post-configure:
    ${CP} ${LIBTOOL} ${WRKSRC}/libtool

.include <bsd.port.mk>