b4d2ac42d7
- Shared lib version and PORTREVISION bumb for all affected ports. While I'm here: - Remove USE_MESA knob where it was (35 ports). It marked as depricated for 2 years. PR: ports/90247 Submitted by: Ermal Lu?i <eri--@albabsd.org>
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ocaml-images
|
|
# Date created: Feb 7, 2003
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= images
|
|
PORTVERSION= 2.2
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
|
|
PKGNAMEPREFIX= ocaml-
|
|
DISTNAME= camlimages-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= marwan.burelle@lri.fr
|
|
COMMENT= Objective Caml image processing library
|
|
|
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
|
|
lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
|
|
lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
|
|
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
|
|
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
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ENV= \
|
|
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
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}
|
|
|
|
pre-everything::
|
|
.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
|
|
@${ECHO_MSG} ""
|
|
@${ECHO_MSG} " Define WITH_GHOSTSCRIPT_AFPL=yes to use"
|
|
@${ECHO_MSG} " AFPL Postscript interpreter instead of GNU one"
|
|
@${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>
|