1 # $NetBSD: Makefile,v 1.42 2012/10/08 13:45:48 asau Exp $
3 DISTNAME
= transfig
.3.2.5d
4 PKGNAME
= transfig-3.2
.5d
6 CATEGORIES
= graphics
print
7 MASTER_SITES
= ftp
://epb.lbl.gov
/xfig
/alpha
/ \
8 ${MASTER_SITE_SOURCEFORGE
:=mcj
/}
10 MAINTAINER
= pkgsrc-users@NetBSD.org
11 HOMEPAGE
= http
://www.xfig.org
/
12 COMMENT
= TeX document creation tool utilizing portable graphics
16 .
include "../../mk/bsd.prefs.mk"
18 # A default paper size is used only in the IBM-GL/HP-GL driver:
19 .if defined
(PAPERSIZE
) && ${PAPERSIZE} == "A4"
20 MAKE_ENV
+= DDA4
="-DA4"
23 MAKE_ENV
+= ICONVLIBS
="${BUILDLINK_LDADD.iconv}"
25 # fig2ps2tex needs csh which might not be present on eg. Linux
26 CHECK_INTERPRETER_SKIP
= bin
/fig2ps2tex
28 .
include "../../graphics/png/buildlink3.mk"
29 .
include "../../converters/libiconv/buildlink3.mk"
30 .
include "../../x11/libXpm/buildlink3.mk"
31 .
include "../../mk/bsd.pkg.mk"