# $NetBSD: options.mk,v 1.3 2008/08/31 10:54:52 adrianp Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.hydra PKG_SUPPORTED_OPTIONS= gtkfe svn pgsql .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mgtkfe) .include "../../x11/gtk2/buildlink3.mk" post-configure: cd ${WRKSRC}/hydra-gtk && \ ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} post-build: cd ${WRKSRC}/hydra-gtk && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} post-install: ${INSTALL_PROGRAM} ${WRKSRC}/hydra-gtk/src/xhydra ${PREFIX}/bin PLIST_SRC+= ${PKGDIR}/PLIST.xhydra .endif .if !empty(PKG_OPTIONS:Msvn) .include "../../devel/subversion-base/buildlink3.mk" .include "../../devel/apr0/buildlink3.mk" CONFIGURE_ENV+= WITH_SVN=1 .else CONFIGURE_ENV+= WITH_SVN=0 .endif .if !empty(PKG_OPTIONS:Mpgsql) .include "../../databases/postgresql81-client/buildlink3.mk" CONFIGURE_ENV+= WITH_PGSQL=1 .else CONFIGURE_ENV+= WITH_PGSQL=0 .endif