# Created by: chinsan # $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 USE_GMAKE= yes USES= iconv 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 MAN1= pcmanx.1 .include .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+= notify:${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} ${DATADIR}/script/ .include