summaryrefslogtreecommitdiff
path: root/graphics/ocaml-images/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-12-05 17:44:35 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-12-05 17:44:35 +0000
commit77f4151ba83a52a84ca3fd29e8d40470d7d41489 (patch)
tree47df4cc914bcb89bb1177ae314b4e72a51ff2ba8 /graphics/ocaml-images/Makefile
parentDon't try to depend on openssl-stable, bsd.openssl.mk is too broken (diff)
- Update version to 2.2 (newer than actual 2.11), also solve build problems
appears with OCaml 3.09 - Pass maintainership to submitter PR: ports/89965 Submitted by: Marwan Burelle <burelle@lri.fr>
Notes
Notes: svn path=/head/; revision=150481
Diffstat (limited to 'graphics/ocaml-images/Makefile')
-rw-r--r--graphics/ocaml-images/Makefile21
1 files changed, 12 insertions, 9 deletions
diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile
index 3760f66e75a3..d2edad7a7f8d 100644
--- a/graphics/ocaml-images/Makefile
+++ b/graphics/ocaml-images/Makefile
@@ -7,34 +7,37 @@
#
PORTNAME= images
-PORTVERSION= 2.11
-PORTREVISION= 0
+PORTVERSION= 2.2
+PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
PKGNAMEPREFIX= ocaml-
DISTNAME= camlimages-${PORTVERSION}
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= marwan.burelle@lri.fr
COMMENT= Objective Caml image processing library
-USE_GHOSTSCRIPT= yes
-
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
- lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
+ lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
+ lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
- lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
+ lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
+ lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
+USE_GHOSTSCRIPT= yes
USE_XPM= yes
USE_FREETYPE= yes
-GNU_CONFIGURE= yes
+HAS_CONFIGURE= yes
CONFIGURE_ENV= \
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
- LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="${LDFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include"
+CONFIGURE_ARGS= --includedir=${LOCALBASE}/include --includedir=${X11BASE}/include
USE_GMAKE= yes
PKGDEINSTALL= ${PKGINSTALL}