1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/chinese/pcmanx/Makefile
Vanilla I. Shu e2b1ffef49 Add stagedir support.
Approved by:	 portmgr (blanket infrastructure)
2014-01-09 07:20:37 +00:00

86 lines
1.9 KiB
Makefile

# 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= pclin@FreeBSD.org
COMMENT= BBS client using GTK+ 2.x
LICENSE= GPLv2
USE_XZ= yes
USE_GNOME= gtk20 intlhack
USES= iconv gmake pkgconfig
GNU_CONFIGURE= yes
OPTIONS_DEFINE= NLS DEBUG DOCKLET NOTIFIER LIBNOTIFY NANCY MOUSE EXTERNAL IPLOOKUP PROXY
OPTIONS_DEFAULT= DOCKLET NOTIFIER NANCY MOUSE EXTERNAL
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
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=--enable-debug
.endif
.if empty(PORT_OPTIONS:MDOCKLET)
CONFIGURE_ARGS+=--disable-docklet
.endif
.if empty(PORT_OPTIONS:MNOTIFIER)
CONFIGURE_ARGS+=--disable-notifier
.endif
.if ${PORT_OPTIONS:MLIBNOTIFY}
CONFIGURE_ARGS+=--enable-libnotify
LIB_DEPENDS+= libnotifa.soy:${PORTSDIR}/devel/libnotify
.endif
.if empty(PORT_OPTIONS:MNANCY)
CONFIGURE_ARGS+=--disable-nancy
.endif
.if empty(PORT_OPTIONS:MMOUSE)
CONFIGURE_ARGS+=--disable-mouse
.endif
.if empty(PORT_OPTIONS:MEXTERNAL)
CONFIGURE_ARGS+=--disable-external
.endif
.if ${PORT_OPTIONS:MIPLOOKUP}
CONFIGURE_ARGS+=--enable-iplookup
.endif
.if ${PORT_OPTIONS:MPROXY}
CONFIGURE_ARGS+=--enable-proxy
.endif
post-install:
@# create directory for user friendly
${MKDIR} ${STAGEDIR}${DATADIR}/script/
.include <bsd.port.mk>