| @@ -1,34 +1,37 @@ | | | @@ -1,34 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.1.1.1 2008/01/11 12:39:47 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.2 2008/01/11 13:39:43 gdt Exp $ |
2 | | | 2 | |
3 | VERSION= 5.0.2 | | 3 | VERSION= 5.0.2 |
4 | DISTNAME= gutenprint-${VERSION} | | 4 | DISTNAME= gutenprint-${VERSION} |
5 | EXTRACT_SUFX= .tar.bz2 | | 5 | EXTRACT_SUFX= .tar.bz2 |
6 | PKGNAME= gutenprint-lib-${VERSION} | | 6 | PKGNAME= gutenprint-lib-${VERSION} |
7 | CATEGORIES= print | | 7 | CATEGORIES= print |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/} | | 8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gimp-print/} |
9 | | | 9 | |
10 | MAINTAINER= gdt@NetBSD.org | | 10 | MAINTAINER= gdt@NetBSD.org |
11 | COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers | | 11 | COMMENT= Drivers for Canon, Epson, Lexmark, and PCL printers |
12 | HOMEPAGE= http://gutenprint.sourceforge.net/ | | 12 | HOMEPAGE= http://gutenprint.sourceforge.net/ |
13 | | | 13 | |
14 | # Not sure if this works. | | 14 | # Not sure if this works. |
15 | #PKG_DESTDIR_SUPPORT= user-destdir | | 15 | #PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 16 | |
17 | USE_TOOLS+= gmake lex pkg-config | | 17 | USE_TOOLS+= gmake lex pkg-config |
18 | USE_PKGLOCALEDIR= YES | | 18 | USE_PKGLOCALEDIR= YES |
19 | USE_LIBTOOL= YES | | 19 | USE_LIBTOOL= YES |
20 | | | 20 | |
21 | USE_LANGUAGES+= c99 c++ | | 21 | USE_LANGUAGES+= c99 c++ |
| | | 22 | # gcc 3.3.3 either can't compile this, or needs huge amounts of RAM (0.5G+). |
| | | 23 | # Observed on NetBSD/i386 3 and confirmed with upstream. Apparently it's |
| | | 24 | # just 3.3.3 - there are no known issues with 2.95. |
22 | | | 25 | |
23 | # gutenprint has many options, and really should be split into | | 26 | # gutenprint has many options, and really should be split into |
24 | # multiple packages. Splitting is difficult because of the structure | | 27 | # multiple packages. Splitting is difficult because of the structure |
25 | # of the upstream distribution. For now, this package contains | | 28 | # of the upstream distribution. For now, this package contains |
26 | # everything that gdt wants, because that seems more useful to users | | 29 | # everything that gdt wants, because that seems more useful to users |
27 | # than not having gutenprint in pkgsrc. | | 30 | # than not having gutenprint in pkgsrc. |
28 | | | 31 | |
29 | GNU_CONFIGURE= YES | | 32 | GNU_CONFIGURE= YES |
30 | | | 33 | |
31 | # XXX Make command.types be a CONF_FILE | | 34 | # XXX Make command.types be a CONF_FILE |
32 | | | 35 | |
33 | # Adjust configure to disable components that we don't want. For | | 36 | # Adjust configure to disable components that we don't want. For |
34 | # components that should eventually be in split packages, we mark them | | 37 | # components that should eventually be in split packages, we mark them |