2002-11-22 11:43:44 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2002/11/22 16:43:45 sturm Exp $
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
COMMENT= "OCaml interface to GTK+"
|
|
|
|
|
|
|
|
DISTNAME= lablgtk-1.2.5
|
|
|
|
CATEGORIES= x11 devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
|
|
|
|
2002-11-22 11:43:44 -05:00
|
|
|
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
|
|
|
|
|
|
|
|
LIB_DEPENDS= gtk.1.2,gdk.1.2::x11/gtk+
|
2002-11-21 11:10:02 -05:00
|
|
|
RUN_DEPENDS= ::lang/ocaml
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
FAKE_FLAGS= BINDIR=${WRKINST}${PREFIX}/bin \
|
|
|
|
INSTALLDIR=${WRKINST}${PREFIX}/lib/ocaml/lablgtk
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
MODULES= ocaml
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= USE_CC=1 ${MODOCAML_NATIVE:S/Yes/USE_DOTOPT=1/:S/No//}
|
|
|
|
|
|
|
|
ALL_TARGET= all ${MODOCAML_NATIVE:S/Yes/opt/:S/No//}
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
cd ${WRKDIST}; gmake configure ${CONFIGURE_ARGS}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lablgtk
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/lablgtk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|