1998-02-28 19:44:59 -05:00
|
|
|
# New ports collection makefile for: sane
|
1999-05-28 23:56:15 -04:00
|
|
|
# Version required: 1.0.1
|
1998-12-06 04:37:29 -05:00
|
|
|
# Date created: Sat Jul 19 16:23:10 MET DST 1997
|
|
|
|
# Whom: gary@hotlava.com
|
1998-02-28 19:44:59 -05:00
|
|
|
#
|
1999-05-28 23:56:15 -04:00
|
|
|
# $Id: Makefile,v 1.16 1999/05/22 04:36:03 obrien Exp $
|
1998-02-28 19:44:59 -05:00
|
|
|
#
|
|
|
|
|
1999-05-22 00:36:08 -04:00
|
|
|
DISTNAME= sane-1.0.1
|
1998-02-28 19:44:59 -05:00
|
|
|
CATEGORIES= graphics
|
1999-05-22 00:36:08 -04:00
|
|
|
MASTER_SITES= ftp://ftp.mostang.com/pub/sane/ \
|
1998-07-12 18:31:17 -04:00
|
|
|
ftp://ftp.lahn.de/pub/platforms/linux/libs/
|
1998-02-28 19:44:59 -05:00
|
|
|
|
|
|
|
MAINTAINER= gary@hotlava.com
|
|
|
|
|
1999-05-28 23:56:15 -04:00
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
1998-12-06 04:37:29 -05:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
1998-10-04 23:04:39 -04:00
|
|
|
|
1999-05-28 23:56:15 -04:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
1999-04-07 15:10:45 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
1998-03-11 08:17:05 -05:00
|
|
|
|
1998-02-28 19:44:59 -05:00
|
|
|
USE_GMAKE= yes
|
1998-12-06 04:37:29 -05:00
|
|
|
GNU_CONFIGURE= yes
|
1999-04-07 15:10:45 -04:00
|
|
|
.if ${OSVERSION} < 300000
|
1998-12-06 04:37:29 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
1999-01-22 17:18:10 -05:00
|
|
|
LIBS="-L${LOCALBASE}/lib" \
|
1999-05-28 23:56:15 -04:00
|
|
|
GTK_CONFIG="${GTK_CONFIG}"
|
1998-12-06 04:37:29 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
1999-01-22 17:18:10 -05:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lcam" \
|
1999-05-28 23:56:15 -04:00
|
|
|
GTK_CONFIG="${GTK_CONFIG}"
|
1998-12-06 04:37:29 -05:00
|
|
|
.endif
|
1998-02-28 19:44:59 -05:00
|
|
|
|
1998-09-17 00:47:46 -04:00
|
|
|
MAN1= scanimage.1 \
|
|
|
|
xscanimage.1 \
|
|
|
|
saned.1
|
1998-12-06 04:37:29 -05:00
|
|
|
MAN5= sane-abaton.5 \
|
|
|
|
sane-agfafocus.5 \
|
|
|
|
sane-apple.5 \
|
1998-09-17 00:47:46 -04:00
|
|
|
sane-dc25.5 \
|
|
|
|
sane-dll.5 \
|
|
|
|
sane-dmc.5 \
|
|
|
|
sane-epson.5 \
|
|
|
|
sane-hp.5 \
|
|
|
|
sane-microtek.5 \
|
|
|
|
sane-microtek2.5 \
|
|
|
|
sane-mustek.5 \
|
|
|
|
sane-net.5 \
|
|
|
|
sane-pint.5 \
|
|
|
|
sane-pnm.5 \
|
|
|
|
sane-qcam.5 \
|
|
|
|
sane-scsi.5 \
|
|
|
|
sane-umax.5
|
1998-05-26 04:18:01 -04:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${ECHO} "*** Note: SANE can be built with an X scanner interface"
|
|
|
|
@${ECHO} "*** (xscanimage) as well as a GIMP plug-in. If you wish"
|
|
|
|
@${ECHO} "*** to do this, hit Ctrl-C right now and build/install"
|
|
|
|
@${ECHO} "*** the GIMP and GTK packages/ports."
|
1998-02-28 19:44:59 -05:00
|
|
|
|
|
|
|
post-install:
|
1998-05-26 04:18:01 -04:00
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
1998-02-28 19:44:59 -05:00
|
|
|
|
1999-04-07 15:10:45 -04:00
|
|
|
.include <bsd.port.post.mk>
|