aboutsummaryrefslogtreecommitdiffstats
path: root/print/pslib/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2006-06-12 09:43:27 +0800
committerijliao <ijliao@FreeBSD.org>2006-06-12 09:43:27 +0800
commit684d2a999569adea601f5be8345b44d3d22ea067 (patch)
tree965f4a009186ec79bdbad1b867ba955294cc99aa /print/pslib/Makefile
parent0a51d27f3a77f77bf6c4d2ab306ac6928c4629e6 (diff)
downloadfreebsd-ports-gnome-684d2a999569adea601f5be8345b44d3d22ea067.tar.gz
freebsd-ports-gnome-684d2a999569adea601f5be8345b44d3d22ea067.tar.zst
freebsd-ports-gnome-684d2a999569adea601f5be8345b44d3d22ea067.zip
upgrade to 0.2.7
PR: 98828 Submitted by: Ports Fury
Diffstat (limited to 'print/pslib/Makefile')
-rw-r--r--print/pslib/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/print/pslib/Makefile b/print/pslib/Makefile
index b21a4286a3f9..005124f9e78c 100644
--- a/print/pslib/Makefile
+++ b/print/pslib/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= pslib
-PORTVERSION= 0.2.6
-PORTREVISION= 1
+PORTVERSION= 0.2.7
+PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,10 +17,12 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A C-library for generating multi page PostScript documents
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
- png.5:${PORTSDIR}/graphics/png
+ png.5:${PORTSDIR}/graphics/png \
+ tiff.4:${PORTSDIR}/graphics/tiff
USE_GNOME= gnomehack gnometarget intlhack pkgconfig
-GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
ac_cv_prog_DOC_TO_MAN=""
@@ -34,4 +36,9 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
+post-patch:
+.if defined(WITHOUT_NLS)
+ @${REINPLACE_CMD} -e 's|@USE_NLS@|no|g' ${WRKSRC}/po/Makefile.in.in
+.endif
+
.include <bsd.port.mk>