| @@ -1,37 +1,32 @@ | | | @@ -1,37 +1,32 @@ |
1 | # $NetBSD: Makefile,v 1.40 2011/01/19 19:14:15 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.41 2012/01/30 07:09:06 sbd Exp $ |
2 | | | 2 | |
3 | DISTNAME= transfig.3.2.5d | | 3 | DISTNAME= transfig.3.2.5d |
4 | PKGNAME= transfig-3.2.5d | | 4 | PKGNAME= transfig-3.2.5d |
5 | CATEGORIES= graphics print | | 5 | CATEGORIES= graphics print |
6 | MASTER_SITES= ftp://epb.lbl.gov/xfig/alpha/ \ | | 6 | MASTER_SITES= ftp://epb.lbl.gov/xfig/alpha/ \ |
7 | ${MASTER_SITE_SOURCEFORGE:=mcj/} | | 7 | ${MASTER_SITE_SOURCEFORGE:=mcj/} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.xfig.org/ | | 10 | HOMEPAGE= http://www.xfig.org/ |
11 | COMMENT= TeX document creation tool utilizing portable graphics | | 11 | COMMENT= TeX document creation tool utilizing portable graphics |
12 | | | 12 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 14 | |
15 | USE_IMAKE= yes | | 15 | USE_IMAKE= yes |
16 | | | 16 | |
17 | .include "../../mk/bsd.prefs.mk" | | 17 | .include "../../mk/bsd.prefs.mk" |
18 | | | 18 | |
19 | # A default paper size is used only in the IBM-GL/HP-GL driver: | | 19 | # A default paper size is used only in the IBM-GL/HP-GL driver: |
20 | .if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" | | 20 | .if defined(PAPERSIZE) && ${PAPERSIZE} == "A4" |
21 | MAKE_ENV+= DDA4="-DA4" | | 21 | MAKE_ENV+= DDA4="-DA4" |
22 | .endif | | 22 | .endif |
23 | | | 23 | |
24 | # We must use GNU make on Linux | | | |
25 | .if ${OPSYS} == "Linux" | | | |
26 | USE_TOOLS+= gmake | | | |
27 | .endif | | | |
28 | | | | |
29 | MAKE_ENV+= ICONVLIBS="${BUILDLINK_LDADD.iconv}" | | 24 | MAKE_ENV+= ICONVLIBS="${BUILDLINK_LDADD.iconv}" |
30 | | | 25 | |
31 | # fig2ps2tex needs csh which might not be present on eg. Linux | | 26 | # fig2ps2tex needs csh which might not be present on eg. Linux |
32 | CHECK_INTERPRETER_SKIP= bin/fig2ps2tex | | 27 | CHECK_INTERPRETER_SKIP= bin/fig2ps2tex |
33 | | | 28 | |
34 | .include "../../graphics/png/buildlink3.mk" | | 29 | .include "../../graphics/png/buildlink3.mk" |
35 | .include "../../converters/libiconv/buildlink3.mk" | | 30 | .include "../../converters/libiconv/buildlink3.mk" |
36 | .include "../../x11/libXpm/buildlink3.mk" | | 31 | .include "../../x11/libXpm/buildlink3.mk" |
37 | .include "../../mk/bsd.pkg.mk" | | 32 | .include "../../mk/bsd.pkg.mk" |