Date: Tue, 10 Sep 2002 13:10:04 -0700 (PDT) From: Ronald Kuehn <rk@ronald.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/42573: x11-toolkits/lablgtk (GTK+ interface for Objective Caml) Message-ID: <200209102010.g8AKA4ov043424@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/42573; it has been noted by GNATS. From: Ronald Kuehn <rk@ronald.org> To: Oliver Braun <obraun@informatik.unibw-muenchen.de> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/42573: x11-toolkits/lablgtk (GTK+ interface for Objective Caml) Date: Tue, 10 Sep 2002 22:03:48 +0200 Hi, this is the new Makefile for this port that uses gnomeng. Well, it at least tries to. I'm not really happy with it yet since it adds tons of dependencies but only needs gtkxmhtml and gdkpixbuf. Well, it's a start: # New ports collection makefile for: lablgtk # Date created: 30. June 2002 # Whom: Ronald Kuehn <rk@ronald.org> # # $FreeBSD$ # PORTNAME= lablgtk PORTVERSION= 1.2.5 CATEGORIES= x11-toolkits MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \ ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/ PKGNAMESUFFIX= ${SFXGL}${SFXGNOME}${SFXGLADE} MAINTAINER= rk@ronald.org BUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml RUN_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml .if defined(WITHOUT_GL) PLIST_SUB+= GL="@comment " SFXGL= -nogl .else PLIST_SUB+= GL="" BUILD_DEPENDS+= lablgl:${PORTSDIR}/graphics/lablgl RUN_DEPENDS+= lablgl:${PORTSDIR}/graphics/lablgl LIB_DEPENDS+= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea CONFIGURE_ENV+= USE_GL=1 .endif .if defined(WITHOUT_GNOME) PLIST_SUB+= GNOME="@comment " SFXGNOME= -nognome .else PLIST_SUB+= GNOME="" USE_GNOMENG= yes USE_GNOME= gdkpixbuf CONFIGURE_ENV+= USE_GNOME=1 .endif .if defined(WITHOUT_GLADE) PLIST_SUB+= GLADE="@comment " SFXGLADE= -noglade .else PLIST_SUB+= GLADE="" .if defined(WITHOUT_GNOME) LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade BUILD_DEPENDS+= libglade-config:${PORTSDIR}/devel/libglade .else USE_GNOME+= libglade .endif CONFIGURE_ENV+= USE_GLADE=1 .endif USE_GMAKE= yes USE_GTK= yes ALL_TARGET= all opt EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} CONFIGURE_ENV+= USE_CC=1 USE_DOTOPT=1 GTK_CONFIG=${GTK_CONFIG} CONFIGURE_ENV+= LIBDIR=${PREFIX}/lib/ocaml BINDIR=${PREFIX}/bin CONFIGURE_ENV+= INSTALLDIR=${PREFIX}/lib/ocaml/lablgtk do-configure: @(cd ${WRKSRC} && ${GMAKE} configure ${CONFIGURE_ENV}) post-install: @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/examples/*.rgb \ ${WRKSRC}/examples/*.ml ${WRKSRC}/examples/*.xpm ${EXAMPLESDIR} .if !defined(WITHOUT_GL) @${MKDIR} ${EXAMPLESDIR}/GL @${INSTALL_DATA} ${WRKSRC}/examples/GL/* ${EXAMPLESDIR}/GL .endif .if !defined(WITHOUT_GNOME) @${MKDIR} ${EXAMPLESDIR}/xmhtml @${INSTALL_DATA} ${WRKSRC}/examples/xmhtml/* ${EXAMPLESDIR}/xmhtml .endif .if !defined(WITHOUT_GLADE) @${MKDIR} ${EXAMPLESDIR}/glade @${INSTALL_DATA} ${WRKSRC}/examples/glade/* ${EXAMPLESDIR}/glade .endif .if !defined(NO_PORTDOCS) @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README .endif .include <bsd.port.mk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209102010.g8AKA4ov043424>