aboutsummaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xfig/Makefile')
-rw-r--r--graphics/xfig/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile
index d1a6d73aaca9..b31b62624463 100644
--- a/graphics/xfig/Makefile
+++ b/graphics/xfig/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xfig
PORTVERSION= 3.2.5b
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF/mcj/mcj_dist_src/3.0/
DISTNAME= ${PORTNAME}.${PORTVERSION}.full
@@ -15,7 +16,7 @@ MAINTAINER= mjl@luckie.org.nz
COMMENT= A drawing program for X11
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
- png.6:${PORTSDIR}/graphics/png \
+ png15:${PORTSDIR}/graphics/png \
Xaw3d.8:${PORTSDIR}/x11-toolkits/Xaw3d
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
@@ -49,6 +50,10 @@ PLIST_SUB+= JPORTDOCS="@comment "
PLIST_SUB= JPORTDOCS=""
.endif
+.if !defined(WITHOUT_I18N)
+USE_GETETEXT= yes
+.endif
+
post-extract:
@cd ${WRKSRC}/Doc && ${FIND} -s . -type d -print0 | ${XARGS} -0 ${CHMOD} a+rx
@cd ${WRKSRC}/Doc && ${FIND} . -type f -print0 | ${XARGS} -0 ${CHMOD} a-x+r