aboutsummaryrefslogtreecommitdiff
path: root/devel/libstroke/Makefile
blob: e5166c0ada44f17cd0052905aa91eb7fdedbda3f (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
# Created by: Jerry A! <jerry@thehutt.org>
# $FreeBSD$

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

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

USES=		gmake
USE_CSTD=	gnu89
USE_XORG=	x11
USE_AUTOTOOLS=	libtool
WANT_GNOME=	yes
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	GTK1
GTK1_DESC=	Build with legacy Gtk+/GNOME stroke support

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGTK1} || !empty(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.mk>