1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

- Update MASTER_SITES.

- Add LICENSE.
- Add MAKE_JOBS_SAFE.
- Fix options for GIMP support.

PR:		ports/172240
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Marcelo Araujo 2013-05-24 08:47:33 +00:00
parent 80bd1d0371
commit e84f255403
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318933

View File

@ -1,30 +1,24 @@
# New ports collection makefile for: sane-frontends
# Date created: Sat Jul 19 16:23:10 MET DST 1997
# Whom: gary@hotlava.com
#
# Created by: gary@hotlava.com
# $FreeBSD$
#
PORTNAME= sane-frontends
PORTVERSION= 1.0.14
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= http://alioth.debian.org/frs/download.php/1140/ \
ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \
ftp://ftp2.sane-project.org/pub/sane/%SUBDIR%/ \
ftp://ftp3.sane-project.org/pub/sane/%SUBDIR%/ \
ftp://gd.tuwien.ac.at/hci/sane/%SUBDIR%/ \
http://gd.tuwien.ac.at/hci/sane/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}-${PORTVERSION}
ftp://ftp2.sane-project.org/pub/sane/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tools for access to scanners, digitals camera, frame grabbers etc
LIB_DEPENDS= sane.1:${PORTSDIR}/graphics/sane-backends
LICENSE= GPLv2 # (or later)
LIB_DEPENDS= sane:${PORTSDIR}/graphics/sane-backends
USE_GMAKE= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@ -44,7 +38,7 @@ CONFIGURE_ARGS+= --disable-gimp
.else
USE_GNOME+= gtk20
.if ${PORT_OPTIONS:MGIMP}
LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp
LIB_DEPENDS+= gimp-2.0:${PORTSDIR}/graphics/gimp-app
CONFIGURE_ARGS+= --enable-gimp
.else
CONFIGURE_ARGS+= --disable-gimp