aboutsummaryrefslogtreecommitdiff
path: root/chinese/pcmanx/Makefile
blob: 92cbb479bba750738de29620421e97a032c36bbc (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
49
50
51
52
53
54
55
56
# Created by: chinsan <chinsan.tw@gmail.com>
# $FreeBSD$

PORTNAME=	pcmanx
PORTVERSION=	1.3
PORTREVISION=	2
CATEGORIES=	chinese net gnome
MASTER_SITES=	https://github.com/pcman-bbs/${PORTNAME}/releases/download/${PORTVERSION}/
DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}

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

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		compiler:c++11-lang gmake gnome iconv pkgconfig tar:xz

GNU_CONFIGURE=	yes
USE_GNOME=	gtk20 intlhack

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: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>