2012-10-07 00:52:50 +02:00
|
|
|
# Created by: James Earl <jdearl@telus.net>
|
2003-07-28 20:20:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xfce4-print
|
2009-05-06 16:56:27 +02:00
|
|
|
PORTVERSION= 4.6.1
|
2014-06-03 19:32:36 +02:00
|
|
|
PORTREVISION= 12
|
2003-08-16 09:03:34 +02:00
|
|
|
CATEGORIES= print xfce
|
2007-10-26 00:53:28 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFCE}
|
2012-05-08 23:26:36 +02:00
|
|
|
MASTER_SITE_SUBDIR= src/archive/xfprint/${PORTVERSION:R}
|
2003-07-28 20:20:20 +02:00
|
|
|
DISTNAME= xfprint-${PORTVERSION}
|
2003-09-28 19:52:45 +02:00
|
|
|
DIST_SUBDIR= xfce4
|
2003-07-28 20:20:20 +02:00
|
|
|
|
2011-10-23 13:56:51 +02:00
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
2013-11-04 15:27:23 +01:00
|
|
|
COMMENT= Print system support for the Xfce Desktop
|
2003-07-28 20:20:20 +02:00
|
|
|
|
2013-11-04 15:27:23 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
BUILD_DEPENDS= a2ps:${PORTSDIR}/print/a2ps
|
|
|
|
RUN_DEPENDS= a2ps:${PORTSDIR}/print/a2ps
|
2013-04-27 18:00:26 +02:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-05-08 23:26:36 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2014-05-06 16:44:07 +02:00
|
|
|
USES= gettext gmake libtool pathfix pkgconfig tar:bzip2
|
2013-11-04 15:27:23 +01:00
|
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
2007-01-22 17:45:10 +01:00
|
|
|
USE_LDCONFIG= yes
|
2009-03-02 17:51:57 +01:00
|
|
|
USE_XFCE= configenv libgui libutil xfconf
|
2007-01-22 17:45:10 +01:00
|
|
|
|
2012-10-07 00:52:50 +02:00
|
|
|
OPTIONS_DEFINE= LETTER
|
2012-10-09 00:03:47 +02:00
|
|
|
OPTIONS_DEFAULT= LPR
|
2012-10-07 00:52:50 +02:00
|
|
|
OPTIONS_SINGLE= PRINTMETHOD
|
|
|
|
OPTIONS_SINGLE_PRINTMETHOD= LPR CUPS
|
|
|
|
LETTER_DESC= Use letter paper format instead of A4
|
2013-11-04 15:27:23 +01:00
|
|
|
LPR_DESC= LPR printing system support
|
2005-01-26 17:57:40 +01:00
|
|
|
|
2014-08-26 16:06:08 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2005-10-07 16:29:49 +02:00
|
|
|
|
2012-10-07 00:52:50 +02:00
|
|
|
.if ${PORT_OPTIONS:MCUPS}
|
2005-01-26 17:57:40 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-cups
|
2013-11-04 15:27:23 +01:00
|
|
|
LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client
|
2005-01-26 17:57:40 +01:00
|
|
|
PLIST_SUB+= CUPS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-cups
|
|
|
|
PLIST_SUB+= CUPS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2012-10-07 00:52:50 +02:00
|
|
|
.if ${PORT_OPTIONS:MLPR}
|
2005-04-14 00:08:04 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-bsdlpr --with-printcap=/etc/printcap
|
2005-01-26 17:57:40 +01:00
|
|
|
PLIST_SUB+= LPR=""
|
2012-10-07 01:01:46 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-bsdlpr
|
|
|
|
PLIST_SUB+= LPR="@comment "
|
2005-01-26 17:57:40 +01:00
|
|
|
.endif
|
|
|
|
|
2012-10-07 00:52:50 +02:00
|
|
|
.if ${PORT_OPTIONS:MLETTER}
|
2005-01-26 17:57:40 +01:00
|
|
|
CONFIGURE_ARGS+=--enable-letter
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-letter
|
|
|
|
.endif
|
2003-07-28 20:20:20 +02:00
|
|
|
|
2005-04-14 00:08:04 +02:00
|
|
|
post-patch:
|
2014-08-26 16:06:08 +02:00
|
|
|
@${REINPLACE_CMD} '/_LDADD =/s/=/= -lX11/' \
|
|
|
|
${WRKSRC}/xfprint/Makefile.in \
|
|
|
|
${WRKSRC}/xfprint-manager/Makefile.in
|
2005-04-14 00:08:04 +02:00
|
|
|
|
2014-08-26 16:06:08 +02:00
|
|
|
.include <bsd.port.mk>
|