2007-02-18 02:15:06 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2007/02/18 07:15:06 pvalchev Exp $
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
COMMENT= "OCaml interface to GTK+"
|
|
|
|
|
2005-12-04 07:08:05 -05:00
|
|
|
DISTNAME= lablgtk-1.2.7
|
2007-02-18 02:15:06 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2002-11-19 20:11:39 -05:00
|
|
|
CATEGORIES= x11 devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-17 10:18:31 -05:00
|
|
|
WANTLIB= X11 Xext Xi c curses glib gmodule iconv intl m pthread
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
|
|
|
|
|
2006-09-18 06:21:48 -04:00
|
|
|
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
|
|
|
|
|
2006-11-13 08:01:37 -05:00
|
|
|
USE_X11= Yes
|
2002-11-19 20:11:39 -05:00
|
|
|
USE_GMAKE= Yes
|
2004-08-10 16:41:47 -04:00
|
|
|
MODULES= lang/ocaml
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
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:
|
2004-02-13 06:37:44 -05:00
|
|
|
cd ${WRKDIST}; PATH=${PORTPATH} gmake configure ${CONFIGURE_ARGS}
|
2002-11-19 20:11:39 -05:00
|
|
|
|
|
|
|
post-install:
|
2006-11-07 01:42:56 -05:00
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/ocaml/lablgtk
|
2002-11-19 20:11:39 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lablgtk
|
|
|
|
${INSTALL_DATA} ${WRKDIST}/README ${PREFIX}/share/doc/lablgtk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|