pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gkrellm Merge after gkrellm2 import.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dfe8604dde44
branches:  trunk
changeset: 469558:dfe8604dde44
user:      cube <cube%pkgsrc.org@localhost>
date:      Wed Feb 25 00:36:11 2004 +0000

description:
Merge after gkrellm2 import.

diffstat:

 sysutils/gkrellm/Makefile |  56 ++++++++++++++++++++++++----------------------
 1 files changed, 29 insertions(+), 27 deletions(-)

diffs (69 lines):

diff -r 20f9fb840119 -r dfe8604dde44 sysutils/gkrellm/Makefile
--- a/sysutils/gkrellm/Makefile Wed Feb 25 00:25:02 2004 +0000
+++ b/sysutils/gkrellm/Makefile Wed Feb 25 00:36:11 2004 +0000
@@ -1,36 +1,38 @@
-# $NetBSD: Makefile,v 1.27 2004/01/24 15:06:57 grant Exp $
-#
+# $NetBSD: Makefile,v 1.28 2004/02/25 00:36:11 cube Exp $
+.include "Makefile.common"
+
+GKRELLM_PKGBASE=       gkrellm
+WRKSRC=                        ${GKRELLM_SRCDIR}
 
-DISTNAME=      gkrellm-1.2.13
-PKGREVISION=   3
-CATEGORIES=    sysutils
-MASTER_SITES=  http://web.wt.net/~billw/gkrellm/
-EXTRACT_SUFX=  .tar.bz2
+COMMENT=               GTK2 based system monitor
+
+DEPENDS+=              gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share
 
-MAINTAINER=    anthony.mallet%ficus.yi.org@localhost
-HOMEPAGE=      http://gkrellm.net/
-COMMENT=       GTK based system monitor
+USE_BUILDLINK3=                YES
+USE_X11=               YES
+USE_PKGINSTALL=                YES
 
-BUILD_USES_MSGFMT=     YES
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD")
+SPECIAL_PERMS+=                ${PREFIX}/bin/gkrellm ${ROOT_USER} kmem 2711
+.endif
 
-OSVERSION_SPECIFIC=    YES
-USE_BUILDLINK2=                YES
-USE_X11=               YES
-USE_GNU_TOOLS+=                make
-USE_PKGLOCALEDIR=      YES
+NOT_FOR_PLATFORM=      IRIX-*
+
+MAKE_ENV+=             MODULES=src LINK_FLAGS=${EXPORT_SYMBOLS_LDFLAGS}
 
-ALL_TARGET=            netbsd
-INSTALL_TARGET=                install_netbsd
-
-MAKE_ENV+=     PTHREAD_INC="-I${LOCALBASE}/include"
-MAKE_ENV+=     EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}"
+pre-build:
+       ${SED} -e s,@@PREFIX@@,${PREFIX}, <${WRKSRC}/src/gkrellm.h >${WRKSRC}/src/gkrellm.h.sed
+       ${MV} ${WRKSRC}/src/gkrellm.h.sed ${WRKSRC}/src/gkrellm.h
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/gkrellm
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/gkrellm
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/gkrellm/themes
+       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm2
+       ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm2/plugins
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/gkrellm2/themes
 
-.include "../../graphics/imlib/buildlink2.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index