aboutsummaryrefslogtreecommitdiffstats
path: root/print/transfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/transfig/Makefile')
-rw-r--r--print/transfig/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/print/transfig/Makefile b/print/transfig/Makefile
index 61396ab1f802..a093f26e28b0 100644
--- a/print/transfig/Makefile
+++ b/print/transfig/Makefile
@@ -6,31 +6,35 @@
#
PORTNAME= transfig
-PORTVERSION= 3.2.4
-PORTREVISION= 2
+PORTVERSION= 3.2.5
CATEGORIES= print
-MASTER_SITES= http://www.xfig.org/xfigdist/ \
- ftp://www-epb.lbl.gov/xfig/%SUBDIR%/
-MASTER_SITE_SUBDIR= . previous_versions
+MASTER_SITES= http://xfig.org/software/xfig/${PORTVERSION}/ \
+ ftp://www-epb.lbl.gov/xfig/
DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools to convert Xfig's .fig files
-USE_GHOSTSCRIPT_RUN= yes
-
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
RUN_DEPENDS= ppmtogif:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
+USE_GHOSTSCRIPT_RUN= yes
USE_IMAKE= yes
USE_XPM= yes
MAN1= fig2dev.1 fig2ps2tex.1 pic2tpic.1 transfig.1
+MAKE_ARGS+= INSTALLFLAGS="${COPY}" \
+ INSTPGMFLAGS="${STRIP} ${_BINOWNGRP} -m ${BINMODE}" \
+ INSTBINFLAGS="${_BINOWNGRP} -m ${BINMODE}" \
+ INSTDATFLAGS="${_SHROWNGRP} -m ${SHAREMODE}" \
+ INSTMANFLAGS="${_MANOWNGRP} -m ${MANMODE}"
+
pre-everything::
-.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
+.if !defined(WITH_GHOSTSCRIPT_AFPL) && !defined(WITH_GHOSTSCRIPT_GNU)
@${ECHO_MSG} ""
@${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
- @${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one"
+ @${ECHO_MSG} " AFPL Postscript interpreter instead of GPL one"
+ @${ECHO_MSG} " Or define WITH_GHOSTSCRIPT_GNU=yes to use GNU one"
@${ECHO_MSG} ""
.endif