mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-13 23:36:08 +00:00
66 lines
1.6 KiB
Makefile
66 lines
1.6 KiB
Makefile
# New ports collection makefile for: sane
|
|
# Version required: 1.00
|
|
# Date created: Sat Jul 19 16:23:10 MET DST 1997
|
|
# Whom: gary@hotlava.com
|
|
# obrien@FreeBSD.org
|
|
#
|
|
# $Id: Makefile,v 1.12 1998/12/06 09:37:28 vanilla Exp $
|
|
#
|
|
|
|
DISTNAME= sane-1.00
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.mostang.com/pub/sane/ \
|
|
ftp://ftp.lahn.de/pub/platforms/linux/libs/
|
|
|
|
MAINTAINER= gary@hotlava.com
|
|
|
|
LIB_DEPENDS= gtk10.1:${PORTSDIR}/x11-toolkits/gtk10 \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
VERSION!= sysctl -n kern.osreldate
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
.if ${VERSION} < 300000
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib" \
|
|
GTK_CONFIG="${X11BASE}/bin/gtk10-config"
|
|
.else
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -lcam" \
|
|
GTK_CONFIG="${X11BASE}/bin/gtk10-config"
|
|
.endif
|
|
|
|
MAN1= scanimage.1 \
|
|
xscanimage.1 \
|
|
saned.1
|
|
MAN5= sane-abaton.5 \
|
|
sane-agfafocus.5 \
|
|
sane-apple.5 \
|
|
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
|
|
|
|
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."
|
|
|
|
post-install:
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|