summaryrefslogtreecommitdiff
path: root/graphics/ocaml-images/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-24 03:13:47 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-03-24 03:13:47 +0000
commit578edb771a27d2864e09fdf0de85bb65d74ba06f (patch)
tree2f0af6160a9a1f2a5b98c748818b14f58986e567 /graphics/ocaml-images/Makefile
parentworkaround for changed soname versioning (OpenLDAP ITS#3016) (diff)
upgrade to 2.11
Notes
Notes: svn path=/head/; revision=105096
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>