2000-03-19 14:53:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-04-09 19:09:11 +00:00
|
|
|
PORTNAME= gkrellm
|
2016-06-05 17:36:47 +00:00
|
|
|
PORTVERSION= 2.3.7
|
|
|
|
#PORTREVISION= 0
|
2000-03-19 14:53:36 +00:00
|
|
|
CATEGORIES= sysutils ipv6
|
2016-06-05 17:36:47 +00:00
|
|
|
MASTER_SITES= http://gkrellm.srcbox.net/releases/ \
|
2015-05-14 10:15:04 +00:00
|
|
|
LOCAL/ume
|
2013-10-12 18:08:23 +00:00
|
|
|
PKGNAMESUFFIX= 2
|
2000-03-19 14:53:36 +00:00
|
|
|
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
2014-07-17 08:57:51 +00:00
|
|
|
COMMENT= GTK based system monitor
|
2000-03-19 14:53:36 +00:00
|
|
|
|
2012-06-16 19:11:44 +00:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2014-06-03 13:50:08 +00:00
|
|
|
USES= gmake pkgconfig tar:bzip2
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= gkrellmd
|
2008-10-04 15:00:55 +00:00
|
|
|
WANT_GNOME= yes
|
2003-08-31 10:27:18 +00:00
|
|
|
|
2016-03-27 14:57:59 +00:00
|
|
|
OPTIONS_DEFINE= DOCS CLIENT NLS NTLM OPENSSL
|
2015-11-12 11:10:28 +00:00
|
|
|
OPTIONS_DEFAULT= CLIENT NTLM OPENSSL
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
CLIENT_DESC= GKrellM Client
|
|
|
|
CLIENT_CONFLICTS= gkrellm-[^2].* gkrellm[^2]-[^2].*
|
|
|
|
CLIENT_USE= GNOME=gtk20 XORG=sm,x11
|
|
|
|
CLIENT_USE_OFF= GNOME=glib20
|
|
|
|
CLIENT_VARS_OFF= BUILD_WRKSRC=${WRKSRC}/server \
|
|
|
|
INSTALL_WRKSRC=${WRKSRC}/server
|
2016-04-01 14:25:16 +00:00
|
|
|
NTLM_LIB_DEPENDS= libntlm.so:security/libntlm
|
2015-11-12 11:10:28 +00:00
|
|
|
NTLM_VARS_OFF= MAKE_ENV+=without-ntlm=1
|
2008-10-04 15:00:55 +00:00
|
|
|
|
2012-06-16 19:11:44 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2008-10-04 15:00:55 +00:00
|
|
|
|
2015-11-12 11:10:28 +00:00
|
|
|
.if ${PORT_OPTIONS:MCLIENT}
|
2012-06-16 19:11:44 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 18:10:30 +00:00
|
|
|
USES+= gettext
|
2012-06-16 19:11:44 +00:00
|
|
|
.else
|
|
|
|
MAKE_ENV+= enable_nls=0
|
2005-05-16 12:43:10 +00:00
|
|
|
.endif
|
2016-03-27 14:57:59 +00:00
|
|
|
.if ${PORT_OPTIONS:MOPENSSL}
|
2003-12-17 19:36:58 +00:00
|
|
|
USE_OPENSSL= yes
|
2005-05-16 12:43:10 +00:00
|
|
|
MAKE_ENV+= without-gnutls=1
|
|
|
|
.else
|
|
|
|
MAKE_ENV+= without-gnutls=1 without-ssl=1
|
|
|
|
.endif
|
2002-09-08 21:22:22 +00:00
|
|
|
.endif
|
2012-06-16 19:11:44 +00:00
|
|
|
|
2005-02-04 12:42:11 +00:00
|
|
|
PORTDOCS= COPYRIGHT CREDITS README Themes.html
|
2000-03-19 14:53:36 +00:00
|
|
|
|
2000-07-10 12:11:52 +00:00
|
|
|
ALL_TARGET= freebsd
|
2002-09-02 18:22:56 +00:00
|
|
|
|
2014-06-17 16:44:58 +00:00
|
|
|
MAKE_ENV+= INSTALLROOT=${PREFIX} INSTALL_PREFIX=$(STAGEDIR) \
|
|
|
|
PKGCONFIGDIR=${PREFIX}/libdata/pkgconfig \
|
|
|
|
SINSTALLDIR=${PREFIX}/sbin \
|
|
|
|
MANDIR=${MAN1PREFIX}/man/man1 SMANDIR=${MANPREFIX}/man/man8 \
|
2005-11-04 19:20:01 +00:00
|
|
|
VERSION=${PORTVERSION}
|
2002-09-02 18:22:56 +00:00
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
CFLAGS+= -DSYSTEM_THEMES_DIR='\"${LOCALBASE}/share/gkrellm2/themes\"' \
|
|
|
|
-DSYSTEM_PLUGINS_DIR='\"${LOCALBASE}/libexec/gkrellm2/plugins\"' \
|
2004-05-15 17:37:42 +00:00
|
|
|
-DGKRELLMD_SYS_ETC='\"${PREFIX}/etc\"' \
|
|
|
|
-DGKRELLMD_SYSTEM_PLUGINS_DIR='\"${PREFIX}/libexec/gkrellm2/plugins-gkrellmd\"'
|
2002-09-02 18:22:56 +00:00
|
|
|
|
2005-11-04 19:20:01 +00:00
|
|
|
post-patch:
|
2013-07-28 20:33:15 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/gthread-2.0/gmodule-2.0 gthread-2.0/g' \
|
|
|
|
${WRKSRC}/src/Makefile
|
2005-11-04 19:20:01 +00:00
|
|
|
|
2015-11-12 11:10:28 +00:00
|
|
|
post-install-CLIENT-on:
|
2013-10-04 12:40:50 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${LOCALBASE}/libexec/gkrellm2/plugins
|
|
|
|
@${MKDIR} ${STAGEDIR}${LOCALBASE}/share/gkrellm2/themes
|
2015-11-12 11:10:28 +00:00
|
|
|
|
|
|
|
post-install:
|
2013-10-04 12:40:50 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins-gkrellmd
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2002-09-02 18:22:56 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/server/gkrellmd.conf \
|
2013-10-04 12:40:50 +00:00
|
|
|
${STAGEDIR}${EXAMPLESDIR}/gkrellmd.conf
|
2015-11-12 11:10:28 +00:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2013-10-04 12:40:50 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2005-02-04 12:42:11 +00:00
|
|
|
.for f in ${PORTDOCS}
|
2013-10-04 12:40:50 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
2000-03-19 14:53:36 +00:00
|
|
|
.endfor
|
|
|
|
|
2012-06-16 19:11:44 +00:00
|
|
|
.include <bsd.port.mk>
|