blob: 3a5506aa4dd4467e1df60824999f66ceeec21842 (
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
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: xcowsay
# Date created: 2008/09/07
# Whom: chinsan
#
# $FreeBSD$
#
PORTNAME= xcowsay
PORTVERSION= 1.3
CATEGORIES= games
MASTER_SITES= http://www.nickg.me.uk/files/ \
http://www.predatorlabs.net/dl/
MAINTAINER= rfarmer@predatorlabs.net
COMMENT= A graphical configurable talking cow
OPTIONS= DBUS "Enable DBus support" off
USE_GNOME= gtk20
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= xcowsay.6
PLIST_FILES= bin/xcowdream \
bin/xcowfortune \
bin/xcowsay \
bin/xcowthink \
share/locale/pt_BR/LC_MESSAGES/xcowsay.mo \
share/locale/ru/LC_MESSAGES/xcowsay.mo \
%%DATADIR%%/cow_large.png \
%%DATADIR%%/cow_med.png \
%%DATADIR%%/cow_small.png
PLIST_DIRS= %%DATADIR%%
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
.if defined(WITH_DBUS)
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
CFLAGS+= -DWITH_DBUS
CONFIGURE_ARGS+= --enable-dbus
.endif
.include <bsd.port.mk>
|