aboutsummaryrefslogtreecommitdiff
path: root/palm/gnome-pilot-conduits/Makefile
blob: 7ab298fdb0092c1bf60d4984be1bae98cbf90020 (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
# New ports collection makefile for:	gnomepilot-conduits2
# Date created:		15 April 2003
# Whom:			Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnome-pilot-conduits
PORTVERSION=	2.0.15
PORTREVISION=	4
CATEGORIES=	palm comms gnome
MASTER_SITES=	GNOME
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/2.0
DIST_SUBDIR=	gnome2

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Additional conduits for gnome-pilot

LIB_DEPENDS=	gpilotd.3:${PORTSDIR}/palm/gnome-pilot

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_BISON=	build
USE_GNOME=	gnomeprefix gnomehack libgnome
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-pisock=${LOCALBASE}
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|' \
		${WRKSRC}/mal-conduit/mal/client/unix/MAL31DBConfig.c
	@${REINPLACE_CMD} -e 's|@mkdir_p@|mkdir -p|g' \
		${WRKSRC}/po/Makefile.in.in

.include <bsd.port.mk>