summaryrefslogtreecommitdiffstats
path: root/chinese/pcmanx/Makefile
blob: c93e578611ea6438dbf2f8a95da095581a748293 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# New ports collection makefile for:   pcmanx
# Date created:                2005/07/16
# Whom:                        chinsan <chinsan.tw@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	pcmanx
PORTVERSION=	1.1
PORTREVISION=	1
CATEGORIES=	chinese net gnome
MASTER_SITES=	http://pcmanx-gtk2.googlecode.com/files/
DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}

MAINTAINER=	linpc@cs.nctu.edu.tw
COMMENT=	BBS client using GTK+ 2.x

LICENSE=	GPLv2

USE_XZ=		yes
USE_GNOME=	gtk20 intlhack
USE_GMAKE=	yes
USE_ICONV=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

OPTIONS=	NLS		"Use Native Language Support"		on  \
		DEBUG		"Build with debugging support"		off \
		DOCKLET		"Docklet / system tray support"		on  \
		NOTIFIER	"Popup notifier support"		on  \
		LIBNOTIFY	"Popup notifier support by libnotify"	off \
		NANCY		"Nancy bot support"			on  \
		MOUSE		"Mouse click and wheel support"		on  \
		EXTERNAL	"Eexternal SSH/Telnet support"		on  \
		IPLOOKUP	"IP location lookup support"		off \
		PROXY		"Proxy support"				off

MAN1=		pcmanx.1

.include <bsd.port.pre.mk>

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

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif

.if defined(WITHOUT_DOCKLET)
CONFIGURE_ARGS+=--disable-docklet
.endif

.if defined(WITHOUT_NOTIFIER)
CONFIGURE_ARGS+=--disable-notifier
.endif

.if defined(WITH_LIBNOTIFY)
CONFIGURE_ARGS+=--enable-libnotify
.endif

.if defined(WITHOUT_NANCY)
CONFIGURE_ARGS+=--disable-nancy
.endif

.if defined(WITHOUT_MOUSE)
CONFIGURE_ARGS+=--disable-mouse
.endif

.if defined(WITHOUT_EXTERNAL)
CONFIGURE_ARGS+=--disable-external
.endif

.if defined(WITH_IPLOOKUP)
CONFIGURE_ARGS+=--enable-iplookup
.endif

.if defined(WITH_PROXY)
CONFIGURE_ARGS+=--enable-proxy
.endif

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