mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
8de0e51049
- Modernize usage of CPPFLAGS Approved by: miwi (mentor)
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# New ports collection makefile for: efax-gtk
|
|
# Whom: Jean-Baptiste Quenot <jb.quenot@caraldi.com>
|
|
# Date Created: 2004-02-29 10:33:43
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= efax-gtk
|
|
PORTVERSION= 3.2.8
|
|
CATEGORIES= comms
|
|
MASTER_SITES= SF
|
|
EXTRACT_SUFX= .src.tgz
|
|
|
|
MAINTAINER= pawel@FreeBSD.org
|
|
COMMENT= GUI front end for the efax fax program
|
|
|
|
LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
|
|
tiff:${PORTSDIR}/graphics/tiff \
|
|
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
|
|
RUN_DEPENDS= ggv:${PORTSDIR}/print/ggv
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_ICONV= yes
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
MAN1= efax.1 efix.1 efax-gtk.1
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
|
|
|
CONFIGURE_ARGS+= --with-gtk-version=gtk2
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
post-install:
|
|
@${ECHO}
|
|
@${ECHO_CMD} "********************************************************************************"
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_CMD} "********************************************************************************"
|
|
@${ECHO}
|
|
|
|
.include <bsd.port.mk>
|