summaryrefslogtreecommitdiffstats
path: root/graphics/sane
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1999-04-07 19:10:45 +0000
committerfenner <fenner@FreeBSD.org>1999-04-07 19:10:45 +0000
commitda9ea9d0842d149c83125fa52268ab07603aeaea (patch)
treed348ba50975654c61455d6c0335c3c87d052a557 /graphics/sane
parent44238a58aa99220e856d3f53c300cb999d540277 (diff)
downloadFreeBSD-ports-da9ea9d0842d149c83125fa52268ab07603aeaea.zip
FreeBSD-ports-da9ea9d0842d149c83125fa52268ab07603aeaea.tar.gz
Use bsd.port.{pre,post}.mk and ${OSVERSION} instead of getting it
by hand. Found by: building ports with sysctl not in my path
Diffstat (limited to 'graphics/sane')
-rw-r--r--graphics/sane/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/sane/Makefile b/graphics/sane/Makefile
index f8abf48..8d1749d 100644
--- a/graphics/sane/Makefile
+++ b/graphics/sane/Makefile
@@ -4,7 +4,7 @@
# Whom: gary@hotlava.com
# obrien@FreeBSD.org
#
-# $Id: Makefile,v 1.13 1999/01/22 22:10:04 nectar Exp $
+# $Id: Makefile,v 1.14 1999/04/03 14:55:00 flathill Exp $
#
DISTNAME= sane-1.00
@@ -17,11 +17,11 @@ MAINTAINER= gary@hotlava.com
LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12 \
jpeg.9:${PORTSDIR}/graphics/jpeg
-VERSION!= sysctl -n kern.osreldate
+.include <bsd.port.pre.mk>
USE_GMAKE= yes
GNU_CONFIGURE= yes
-.if ${VERSION} < 300000
+.if ${OSVERSION} < 300000
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
GTK_CONFIG="${X11BASE}/bin/gtk12-config"
@@ -62,4 +62,4 @@ post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@${CAT} ${PKGDIR}/MESSAGE
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud