aboutsummaryrefslogtreecommitdiff
path: root/devel/libstroke/Makefile
blob: 1cc322ac31812b5cdea4107310900039a6f4c0ca (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
38
# New ports collection makefile for:	LibStroke
# Date created:				31 December 2001
# Whom:					Jerry A! <jerry@thehutt.org>
#
# $FreeBSD$
#

PORTNAME=	libstroke
PORTVERSION=	0.5.1
PORTREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	http://www.etla.net/libstroke/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A stroke translation library

USE_XLIB=	yes
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
WANT_GNOME=	yes
USE_LDCONFIG=	yes

OPTIONS=	GTK	"Build with Gtk+/GNOME stroke support"	off

.include <bsd.port.pre.mk>

.if defined(WITH_GTK) || ${HAVE_GNOME:Mgtk12}
USE_GNOME+=	gtk12
PLIST_SUB+=	GS=""
.else
PLIST_SUB+=	GS="@comment "
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
		${WRKSRC}/configure

.include <bsd.port.post.mk>