blob: f466764d2a59f92bd95cf6394d4c28c1a05b9bd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile.common,v 1.20 2005/12/05 20:50:22 rillig Exp $
CATEGORIES?= graphics
MASTER_SITES?= ftp://ftp.mostang.com/pub/sane/${DISTNAME}/ \
ftp://ftp.mostang.com/pub/sane/${SANE_VERSION}/ \
ftp://gd.tuwien.ac.at/hci/sane/${DISTNAME}/ \
ftp://ftp.informatik.uni-oldenburg.de/pub/sane/${DISTNAME}/
MAINTAINER?= tech-pkg@NetBSD.org
HOMEPAGE?= http://www.sane-project.org/
SANE_MAJOR?= 1
SANE_MINOR?= 0
SANE_MICRO?= 16
SANE_VERSION= ${SANE_MAJOR}.${SANE_MINOR}.${SANE_MICRO}
PLIST_SUBST+= SANE_MAJOR=${SANE_MAJOR:Q}
PLIST_SUBST+= SANE_MINOR=${SANE_MINOR:Q}
PLIST_SUBST+= SANE_MICRO=${SANE_MICRO:Q}
PLIST_SUBST+= SANE_VERSION=${SANE_VERSION:Q}
CONFLICTS+= sane<=1.0.3
GNU_CONFIGURE= YES
USE_TOOLS+= gmake
USE_LIBTOOL= YES
CONFIGURE_ENV+= ac_cv_path_LATEX="no"
.include "../../mk/bsd.prefs.mk"
# -O to work around a bug with -O2 and egcs.
.if !empty(MACHINE_PLATFORM:MNetBSD-1.[45]*-*)
CFLAGS= -O
.endif
|