freebsd-ports/comms/efax-gtk/Makefile

65 lines
1.6 KiB
Makefile
Raw Normal View History

# Created by: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
# $FreeBSD$
PORTNAME= efax-gtk
PORTVERSION= 3.2.11
CATEGORIES= comms
MASTER_SITES= SF
EXTRACT_SUFX= .src.tgz
MAINTAINER= pawel@FreeBSD.org
COMMENT= GUI frontend for efax program
LICENSE= GPLv2
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
pcre:${PORTSDIR}/devel/pcre \
cairo:${PORTSDIR}/graphics/cairo \
jbig:${PORTSDIR}/graphics/jbigkit \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
cxx-gtk-utils-2-2.0:${PORTSDIR}/x11-toolkits/c++-gtk-utils
RUN_DEPENDS= ggv:${PORTSDIR}/print/ggv
2011-12-23 17:58:33 +01:00
USES= pkgconfig iconv
USE_GHOSTSCRIPT_RUN=yes
USE_GNOME= gdkpixbuf2 gtk20
GNU_CONFIGURE= yes
USE_GCC= 4.4+
USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext xfixes \
xi xinerama xrandr xrender
MAKE_JOBS_SAFE= yes
CONFLICTS= efax-[0-9]*
MAN1= efax.1 efix.1 efax-gtk.1
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -pthread -lintl
CONFIGURE_ARGS+=--with-gtk-version=gtk2
2012-06-08 00:44:21 +02:00
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
2012-06-08 00:44:21 +02:00
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-install:
@${ECHO}
@${ECHO_CMD} "********************************************************************************"
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} "********************************************************************************"
@${ECHO}
.include <bsd.port.mk>