| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.122 2011/12/11 21:10:05 dholland Exp $ | | 1 | # $NetBSD: Makefile,v 1.123 2011/12/12 06:49:26 dholland Exp $ |
2 | | | 2 | |
3 | DISTNAME= R-2.14.0 | | 3 | DISTNAME= R-2.14.0 |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | CATEGORIES= math | | 5 | CATEGORIES= math |
6 | MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-2/} | | 6 | MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-2/} |
7 | | | 7 | |
8 | MAINTAINER= markd@NetBSD.org | | 8 | MAINTAINER= markd@NetBSD.org |
9 | HOMEPAGE= http://www.R-project.org/ | | 9 | HOMEPAGE= http://www.R-project.org/ |
10 | COMMENT= Statistical language for data analysis and graphics | | 10 | COMMENT= Statistical language for data analysis and graphics |
11 | LICENSE= gnu-gpl-v2 | | 11 | LICENSE= gnu-gpl-v2 |
12 | | | 12 | |
13 | #needs FPC code not found in older versions of NetBSD | | 13 | #needs FPC code not found in older versions of NetBSD |
14 | NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \ | | 14 | NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \ |
| @@ -86,27 +86,44 @@ R_PAPERSIZE?= A4 | | | @@ -86,27 +86,44 @@ R_PAPERSIZE?= A4 |
86 | .endif | | 86 | .endif |
87 | .if (${R_PAPERSIZE} == "Letterdj") | | 87 | .if (${R_PAPERSIZE} == "Letterdj") |
88 | R_PAPERSIZE= Letter | | 88 | R_PAPERSIZE= Letter |
89 | .endif | | 89 | .endif |
90 | CONFIGURE_ENV+= R_PAPERSIZE=${R_PAPERSIZE:Q} | | 90 | CONFIGURE_ENV+= R_PAPERSIZE=${R_PAPERSIZE:Q} |
91 | | | 91 | |
92 | # These macros are used during the build, so strip off the -o,-g flags. | | 92 | # These macros are used during the build, so strip off the -o,-g flags. |
93 | INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE} | | 93 | INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE} |
94 | INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE} | | 94 | INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE} |
95 | | | 95 | |
96 | # to build NEWS.pdf | | 96 | # to build NEWS.pdf |
97 | BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin | | 97 | BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin |
98 | BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont | | 98 | BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont |
| | | 99 | BUILD_DEPENDS+= tex-ae-[0-9]*:../../fonts/tex-ae |
99 | BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec | | 100 | BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec |
| | | 101 | BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools |
| | | 102 | BUILD_DEPENDS+= tex-url-[0-9]*:../../print/tex-url |
| | | 103 | BUILD_DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek |
| | | 104 | BUILD_DEPENDS+= tex-amsfonts-[0-9]*:../../fonts/tex-amsfonts |
| | | 105 | BUILD_DEPENDS+= tex-cm-[0-9]*:../../fonts/tex-cm |
| | | 106 | BUILD_DEPENDS+= tex-cm-super-[0-9]*:../../fonts/tex-cm-super |
| | | 107 | BUILD_DEPENDS+= tex-fontname-[0-9]*:../../fonts/tex-fontname |
| | | 108 | BUILD_DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics |
| | | 109 | BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref |
| | | 110 | BUILD_DEPENDS+= tex-ifluatex-[0-9]*:../../print/tex-ifluatex |
| | | 111 | BUILD_DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex |
| | | 112 | BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex |
| | | 113 | BUILD_DEPENDS+= tex-latexconfig-[0-9]*:../../print/tex-latexconfig |
| | | 114 | BUILD_DEPENDS+= tex-mptopdf-[0-9]*:../../graphics/tex-mptopdf |
| | | 115 | BUILD_DEPENDS+= tex-pdftex-def-[0-9]*:../../print/tex-pdftex |
| | | 116 | |
100 | | | 117 | |
101 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 | | 118 | BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 |
102 | BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5 | | 119 | BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5 |
103 | | | 120 | |
104 | .if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*) | | 121 | .if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*) |
105 | CONFIGURE_ARGS+= --enable-mbcs=no | | 122 | CONFIGURE_ARGS+= --enable-mbcs=no |
106 | .endif | | 123 | .endif |
107 | | | 124 | |
108 | .include "../../archivers/bzip2/buildlink3.mk" | | 125 | .include "../../archivers/bzip2/buildlink3.mk" |
109 | .include "../../archivers/xz/buildlink3.mk" | | 126 | .include "../../archivers/xz/buildlink3.mk" |
110 | .include "../../converters/libiconv/buildlink3.mk" | | 127 | .include "../../converters/libiconv/buildlink3.mk" |
111 | .include "../../devel/gettext-lib/buildlink3.mk" | | 128 | .include "../../devel/gettext-lib/buildlink3.mk" |
112 | .include "../../devel/pcre/buildlink3.mk" | | 129 | .include "../../devel/pcre/buildlink3.mk" |