freebsd-ports/deskutils/gnome-pim/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

1999-01-17 21:15:26 +01:00
# New ports collection makefile for: gnomepim
# Date created: 17 Jan 1999
# 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
#
PORTNAME= gnomepim
2003-01-01 20:11:27 +01:00
PORTVERSION= 1.4.9
PORTREVISION= 2
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.jroger.in-berlin.de/gnome-pim/
DISTNAME= gnome-pim-${PORTVERSION}
2002-05-31 22:53:08 +02:00
DIST_SUBDIR= gnome
1999-01-17 21:15:26 +01:00
MAINTAINER= gnome@FreeBSD.org
COMMENT= Gnome pim package
1999-01-17 21:15:26 +01:00
USE_X_PREFIX= yes
USE_BISON= yes
1999-01-17 21:15:26 +01:00
USE_GMAKE= yes
2002-07-18 11:56:35 +02:00
USE_GNOME= gnomeprefix gnomehack gnomelibs libcapplet
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CPPFLAGS= -I${LOCALBASE}/include
LIBS= -L${LOCALBASE}/lib
.if !defined(WITHOUT_PILOT)
CONFIGURE_ARGS= --with-pisock=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LIBS="${LIBS}"
pre-extract:
@${ECHO_MSG}
.if defined(WITHOUT_PILOT)
@${ECHO_MSG} "Palm Pilot support disabled. You will not be able to syncronize"
@${ECHO_MSG} "your palm with gnomecard and gnomecal."
.else
@${ECHO_MSG} "You can disable Palm Pilot support by defining WITHOUT_PILOT."
.endif
@${ECHO_MSG}
2002-07-18 11:56:35 +02:00
post-patch:
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
2002-07-18 11:56:35 +02:00
pre-install:
${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>