summaryrefslogtreecommitdiffstats
path: root/chinese/pcmanx/Makefile
blob: af17c4a1573de71e1a10cebe6eedae3969337d4d (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
# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$

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

MAINTAINER=	ports@FreeBSD.org
COMMENT=	BBS client using GTK+ 2.x

LICENSE=	GPLv2 # or later
LICENSE_FILE=	${WRKSRC}/COPYING

USE_GNOME=	gtk20 intlhack
USES=		gmake iconv pkgconfig tar:xz
GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	NLS DEBUG DOCKLET NOTIFIER LIBNOTIFY NANCY MOUSE EXTERNAL IPLOOKUP PROXY
OPTIONS_DEFAULT=	DOCKLET NOTIFIER NANCY MOUSE EXTERNAL
OPTIONS_SUB=	yes

DOCKLET_DESC=	Docklet / system tray support
NOTIFIER_DESC=	Popup notifier support
LIBNOTIFY_DESC=	Popup notifier support by libnotify
NANCY_DESC=	Nancy bot support
MOUSE_DESC=	Mouse click and wheel support
EXTERNAL_DESC=	External SSH/Telnet support
IPLOOKUP_DESC=	IP location lookup support
PROXY_DESC=	Proxy support

NLS_USES=		gettext
NLS_USES_OFF=	gettext-tools
NLS_CPPFLAGS=	-I${LOCALBASE}/include
NLS_LDFLAGS=	-L${LOCALBASE}/lib
NLS_CONFIGURE_ENABLE=nls

DEBUG_CONFIGURE_ENABLE=		debug
DOCKLET_CONFIGURE_ENABLE=	docklet
NOTIFIER_CONFIGURE_ENABLE=	notifier
LIBNOTIFY_CONFIGURE_ENABLE=	libnotify
LIBNOTIFY_LIB_DEPENDS=		libnotify.so:${PORTSDIR}/devel/libnotify
NANCY_CONFIGURE_ENABLE=		nancy
MOUSE_CONFIGURE_ENABLE=		mouse
EXTERNAL_CONFIGURE_ENABLE=	external
IPLOOKUP_CONFIGURE_ENABLE=	iplookup
PROXY_CONFIGURE_ENABLE=		proxy

post-install:
	@# create directory for user friendly
	${MKDIR} ${STAGEDIR}${DATADIR}/script/

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