41ff4e536e
- Add missing dependencies - Remove unneeded patches - Regenerate and rename legacy patches - Add NLS option to ports providing such a knob, and missing the option - Add INSTALL_TARGET=install-strip where missing - Sort things - Remove unneeded += - Cosmetic changes to OPTION related variables to improve readability - Update WWW - Silence portlint warnings about variables order - Bump PORTREVISION where changing dependencies and/or adding install-strip
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
# Created by: James Earl <jdearl@telus.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xfce4-print
|
|
PORTVERSION= 4.6.1
|
|
PORTREVISION= 15
|
|
CATEGORIES= print xfce
|
|
MASTER_SITES= XFCE/src/archive/xfprint/${PORTVERSION:R}
|
|
DISTNAME= xfprint-${PORTVERSION}
|
|
DIST_SUBDIR= xfce4
|
|
|
|
MAINTAINER= xfce@FreeBSD.org
|
|
COMMENT= Print system support for the Xfce Desktop
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= a2ps:print/a2ps
|
|
RUN_DEPENDS= a2ps:print/a2ps
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2 \
|
|
libdbus-glib-1.so:devel/dbus-glib \
|
|
libdbus-1.so:devel/dbus
|
|
|
|
USES= gettext-tools gmake gnome libtool pathfix pkgconfig \
|
|
tar:bzip2 xfce
|
|
USE_GNOME= cairo glib20 gtk20 intlhack intltool
|
|
USE_LDCONFIG= yes
|
|
USE_XFCE= libgui xfconf
|
|
USE_XORG= x11
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
OPTIONS_DEFINE= LETTER NLS
|
|
OPTIONS_SINGLE= PRINTMETHOD
|
|
OPTIONS_SINGLE_PRINTMETHOD= LPR CUPS
|
|
OPTIONS_DEFAULT= LPR
|
|
OPTIONS_SUB= yes
|
|
|
|
LETTER_DESC= Use letter paper format instead of A4
|
|
LPR_DESC= LPR printing system support
|
|
|
|
CUPS_CONFIGURE_ENABLE= cups
|
|
CUPS_LIB_DEPENDS= libcups.so:print/cups
|
|
|
|
LETTER_CONFIGURE_ENABLE=letter
|
|
LPR_CONFIGURE_ENABLE= bsdlpr
|
|
LPR_CONFIGURE_WITH= printcap=/etc/printcap
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext-runtime
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} '/_LDADD =/s/=/= -lX11/' \
|
|
${WRKSRC}/xfprint/Makefile.in \
|
|
${WRKSRC}/xfprint-manager/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|