1999-01-17 21:15:26 +01:00
|
|
|
# New ports collection makefile for: gnomepim
|
|
|
|
# Date created: 17 Jan 1999
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Vanilla I. Shu <vanilla@FreeBSD.org>
|
1999-01-17 21:15:26 +01:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1999-01-17 21:15:26 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 00:04:57 +02:00
|
|
|
PORTNAME= gnomepim
|
2002-09-09 20:42:11 +02:00
|
|
|
PORTVERSION= 1.4.8
|
1999-02-02 08:33:56 +01:00
|
|
|
CATEGORIES= deskutils gnome
|
2002-09-09 20:42:11 +02:00
|
|
|
MASTER_SITES= http://me.in-berlin.de/~jroger/gnome-pim/ \
|
|
|
|
${MASTER_SITE_GNOME}
|
2002-09-20 19:07:51 +02:00
|
|
|
MASTER_SITE_SUBDIR= sources/gnome-pim/1.4
|
2000-04-09 00:04:57 +02:00
|
|
|
DISTNAME= gnome-pim-${PORTVERSION}
|
2002-05-31 22:53:08 +02:00
|
|
|
DIST_SUBDIR= gnome
|
1999-01-17 21:15:26 +01:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1999-01-17 21:15:26 +01:00
|
|
|
|
2002-01-21 02:45:26 +01:00
|
|
|
.if !defined(WITHOUT_PILOT)
|
2001-12-06 11:15:19 +01:00
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
|
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/gnome-pilot/conduits/libemail_conduit.so:${PORTSDIR}/palm/gnomepilot-conduits
|
2002-04-28 18:03:28 +02:00
|
|
|
PLIST_SUB= GNOME_PILOT=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= GNOME_PILOT="@comment "
|
2001-12-06 11:15:19 +01:00
|
|
|
.endif
|
|
|
|
|
1999-01-17 21:15:26 +01:00
|
|
|
USE_X_PREFIX= yes
|
2001-12-19 12:19:01 +01:00
|
|
|
USE_BISON= yes
|
1999-01-17 21:15:26 +01:00
|
|
|
USE_GMAKE= yes
|
2002-07-18 11:56:35 +02:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gnomeprefix gnomehack gnomelibs libcapplet
|
2000-06-02 20:15:00 +02:00
|
|
|
USE_LIBTOOL= yes
|
2001-12-06 11:15:19 +01:00
|
|
|
|
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LIBS= -L${LOCALBASE}/lib
|
2002-01-21 10:52:47 +01:00
|
|
|
.if !defined(WITHOUT_PILOT)
|
2002-01-08 11:20:07 +01:00
|
|
|
CONFIGURE_ARGS= --with-pisock=${LOCALBASE}
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2001-12-06 11:15:19 +01:00
|
|
|
.endif
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
|
|
|
|
LIBS="${LIBS}"
|
|
|
|
|
|
|
|
pre-extract:
|
|
|
|
@${ECHO_MSG}
|
2001-12-17 12:28:00 +01:00
|
|
|
.if defined(WITHOUT_PILOT)
|
|
|
|
@${ECHO_MSG} "Palm Pilot support disabled. You will not be able to syncronize"
|
2001-12-06 11:15:19 +01:00
|
|
|
@${ECHO_MSG} "your palm with gnomecard and gnomecal."
|
|
|
|
.else
|
2001-12-17 12:28:00 +01:00
|
|
|
@${ECHO_MSG} "You can disable Palm Pilot support by defining WITHOUT_PILOT."
|
2001-12-06 11:15:19 +01:00
|
|
|
.endif
|
|
|
|
@${ECHO_MSG}
|
2000-06-02 20:15:00 +02:00
|
|
|
|
2002-07-18 11:56:35 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-08-04 03:19:21 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2001-11-09 09:49:55 +01:00
|
|
|
.for file in vcc.y vobject.c
|
2002-07-18 11:56:35 +02:00
|
|
|
@${REINPLACE_CMD} -e "s/malloc[.]h/stdlib.h/g" ${WRKSRC}/libversit/${file}
|
2001-11-09 09:49:55 +01:00
|
|
|
.endfor
|
2000-08-04 03:19:21 +02:00
|
|
|
|
2002-07-18 11:56:35 +02:00
|
|
|
pre-install:
|
2002-10-16 02:12:37 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/gnome/help/gnomecard/C \
|
2002-07-18 11:56:35 +02:00
|
|
|
${PREFIX}/share/gnome/help/gnomecard/eu
|
|
|
|
|
1999-01-17 21:15:26 +01:00
|
|
|
.include <bsd.port.mk>
|