blob: f6ede00e54dd0f5e93461639fd23e91f56a9bd7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: options.mk,v 1.4 2008/10/30 14:49:42 bad 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"
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
|