aboutsummaryrefslogtreecommitdiff
path: root/graphics/sane-backends/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-05-29 03:56:15 +0000
committerSteve Price <steve@FreeBSD.org>1999-05-29 03:56:15 +0000
commit92103d6d5cd276d1373540bf8b9d97a23929f822 (patch)
tree2313fd648f4f8aae5fe387795ed60d255d84b5d9 /graphics/sane-backends/Makefile
parent0ebce2fca246698aa00a259132fd207e4209026d (diff)
downloadports-92103d6d5cd276d1373540bf8b9d97a23929f822.tar.gz
ports-92103d6d5cd276d1373540bf8b9d97a23929f822.zip
Update to use gtk version 1.2.3.
PR: 11842 Submitted by: Jeremy Lea <reg@shale.csir.co.za>
Notes
Notes: svn path=/head/; revision=19055
Diffstat (limited to 'graphics/sane-backends/Makefile')
-rw-r--r--graphics/sane-backends/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 0bb3213a11f3..50bce21f3ad3 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -1,9 +1,9 @@
# New ports collection makefile for: sane
-# Version required: 1.00
+# Version required: 1.0.1
# Date created: Sat Jul 19 16:23:10 MET DST 1997
# Whom: gary@hotlava.com
#
-# $Id: Makefile,v 1.15 1999/04/07 19:10:45 fenner Exp $
+# $Id: Makefile,v 1.16 1999/05/22 04:36:03 obrien Exp $
#
DISTNAME= sane-1.0.1
@@ -13,9 +13,11 @@ MASTER_SITES= ftp://ftp.mostang.com/pub/sane/ \
MAINTAINER= gary@hotlava.com
-LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
jpeg.9:${PORTSDIR}/graphics/jpeg
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
.include <bsd.port.pre.mk>
USE_GMAKE= yes
@@ -23,11 +25,11 @@ GNU_CONFIGURE= yes
.if ${OSVERSION} < 300000
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
- GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+ GTK_CONFIG="${GTK_CONFIG}"
.else
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lcam" \
- GTK_CONFIG="${X11BASE}/bin/gtk12-config"
+ GTK_CONFIG="${GTK_CONFIG}"
.endif
MAN1= scanimage.1 \
@@ -58,7 +60,6 @@ pre-configure:
@${ECHO} "*** the GIMP and GTK packages/ports."
post-install:
- ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.post.mk>