aboutsummaryrefslogtreecommitdiff
path: root/print/transfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/transfig/Makefile')
-rw-r--r--print/transfig/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/transfig/Makefile b/print/transfig/Makefile
index 6570fe42c7c7..1dbda7b715da 100644
--- a/print/transfig/Makefile
+++ b/print/transfig/Makefile
@@ -7,6 +7,7 @@
PORTNAME= transfig
PORTVERSION= 3.2.5d
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= SF/mcj/mcj_dist_src/3.0/
DISTNAME= ${PORTNAME}.${PORTVERSION}
@@ -15,13 +16,14 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Tools to convert Xfig's .fig files
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
-LIB_DEPENDS= png.6:${PORTSDIR}/graphics/png
+LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USE_GHOSTSCRIPT_RUN= yes
USE_IMAKE= yes
USE_XORG= xpm
MAN1= fig2dev.1 fig2ps2tex.1 pic2tpic.1 transfig.1
+CFLAGS+= -I${LOCALBASE}/include/libpng15
MAKE_ARGS+= INSTALLFLAGS="${COPY}" \
INSTPGMFLAGS="${STRIP} ${_BINOWNGRP} -m ${BINMODE}" \
INSTBINFLAGS="${_BINOWNGRP} -m ${BINMODE}" \