0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ocaml-sdl
|
|
# Date created: Jun 1, 2004
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sdl
|
|
PORTVERSION= 0.7.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ocamlsdl
|
|
PKGNAMEPREFIX= ocaml-
|
|
DISTNAME= ocamlsdl-${PORTVERSION}
|
|
|
|
MAINTAINER= ssedov@mbsd.msk.ru
|
|
COMMENT= An OCaml interface to the SDL
|
|
|
|
BUILD_DEPENDS= lablgl:${PORTSDIR}/graphics/ocaml-lablgl
|
|
|
|
USE_GMAKE= yes
|
|
USE_OCAML= yes
|
|
USE_OCAML_FINDLIB=yes
|
|
USE_OCAML_LDCONFIG=yes
|
|
USE_SDL= sdl ttf image mixer
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
CONFIGURE_ARGS= --with-findlib
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/{PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
INFO= ocamlsdl
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/html/* ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/ocamlsdl.info ${PREFIX}/${INFO_PATH}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|