aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/ocaml-images/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-03-24 11:13:47 +0800
committerijliao <ijliao@FreeBSD.org>2004-03-24 11:13:47 +0800
commitd3ade96c7cd66c0c93004386aae15ec6e9a3d4df (patch)
tree700ddde3955f7b69bfe380153ed3d228cddcc681 /graphics/ocaml-images/Makefile
parent45896ffb24247c1faf2ff1c8d934ed57f0faf0bd (diff)
downloadfreebsd-ports-gnome-d3ade96c7cd66c0c93004386aae15ec6e9a3d4df.tar.gz
freebsd-ports-gnome-d3ade96c7cd66c0c93004386aae15ec6e9a3d4df.tar.zst
freebsd-ports-gnome-d3ade96c7cd66c0c93004386aae15ec6e9a3d4df.zip
upgrade to 2.11
Diffstat (limited to 'graphics/ocaml-images/Makefile')
-rw-r--r--graphics/ocaml-images/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile
index 881205e932d0..3760f66e75a3 100644
--- a/graphics/ocaml-images/Makefile
+++ b/graphics/ocaml-images/Makefile
@@ -7,10 +7,10 @@
#
PORTNAME= images
-PORTVERSION= 2.10
-PORTREVISION= 2
+PORTVERSION= 2.11
+PORTREVISION= 0
CATEGORIES= graphics
-MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/cristal/caml-light/bazar-ocaml/
+MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
PKGNAMEPREFIX= ocaml-
DISTNAME= camlimages-${PORTVERSION}
EXTRACT_SUFX= .tgz
@@ -24,10 +24,10 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
-LIB_DEPENDS= ungif:${PORTSDIR}/graphics/libungif \
- png:${PORTSDIR}/graphics/png \
- jpeg:${PORTSDIR}/graphics/jpeg \
- tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
+ png.5:${PORTSDIR}/graphics/png \
+ jpeg.9:${PORTSDIR}/graphics/jpeg \
+ tiff.4:${PORTSDIR}/graphics/tiff
USE_XPM= yes
USE_FREETYPE= yes
@@ -37,6 +37,8 @@ CONFIGURE_ENV= \
LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
USE_GMAKE= yes
+PKGDEINSTALL= ${PKGINSTALL}
+
pre-everything::
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
@${ECHO_MSG} ""
@@ -45,4 +47,9 @@ pre-everything::
@${ECHO_MSG} ""
.endif
+post-install:
+ @${FIND} ${PREFIX}/lib/ocaml/camlimages -type f | \
+ ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
+ @${ECHO_CMD} "@dirrm lib/ocaml/camlimages" >> ${TMPPLIST}
+
.include <bsd.port.mk>