summaryrefslogtreecommitdiffstats
path: root/games/xcowsay/Makefile
blob: c99fa19628d9a4224f9befe750c83310a9ba5174 (plain)
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:	xcowsay
# Date created:		2008/09/07
# Whom:			chinsan
#
# $FreeBSD$
#

PORTNAME=	xcowsay
PORTVERSION=	1.1
CATEGORIES=	games gnome
MASTER_SITES=	http://www.nickg.me.uk/files/ LOCAL/chinsan/games

MAINTAINER=	chinsan@FreeBSD.org
COMMENT=	A graphical configurable talking cow

GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 gdkpixbuf intlhack
USE_GMAKE=	yes
USE_ICONV=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD}
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN6=		xcowsay.6

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud