1999-12-28 02:26:40 +00:00
|
|
|
# New ports collection makefile for: gnomepilot
|
|
|
|
# Date created: 28th October 1999
|
|
|
|
# Whom: Ade Lovett <ade@lovett.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2000-04-13 19:19:05 +00:00
|
|
|
#
|
1999-12-28 02:26:40 +00:00
|
|
|
|
2000-04-13 19:19:05 +00:00
|
|
|
PORTNAME= gnomepilot
|
2000-05-17 16:35:06 +00:00
|
|
|
PORTVERSION= 0.1.52
|
1999-12-28 02:26:40 +00:00
|
|
|
CATEGORIES= palm comms gnome
|
2000-07-11 23:14:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/gnome-pilot
|
2000-04-13 19:19:05 +00:00
|
|
|
DISTNAME= gnome-pilot-${PORTVERSION}
|
1999-12-28 02:26:40 +00:00
|
|
|
|
2000-01-22 04:42:02 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1999-12-28 02:26:40 +00:00
|
|
|
|
2000-03-21 17:52:05 +00:00
|
|
|
BUILD_DEPENDS= gob:${PORTSDIR}/x11-toolkits/gob
|
1999-12-28 02:26:40 +00:00
|
|
|
LIB_DEPENDS= pisock.3:${PORTSDIR}/palm/pilot-link \
|
2000-06-15 22:36:32 +00:00
|
|
|
xml.5:${PORTSDIR}/textproc/libxml \
|
2000-07-11 22:02:22 +00:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade
|
1999-12-28 02:26:40 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= yes
|
1999-12-28 02:26:40 +00:00
|
|
|
USE_LIBTOOL= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
CONFIGURE_ARGS= --with-pisock=${LOCALBASE}/pilot
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/pilot/include" \
|
2000-03-21 17:52:05 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/pilot/lib"
|
1999-12-28 02:26:40 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1999-12-28 02:26:40 +00:00
|
|
|
.include <bsd.port.mk>
|