diff options
author | cube <cube@pkgsrc.org> | 2004-02-25 00:36:11 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-02-25 00:36:11 +0000 |
commit | a74ffc25003e1613815edbd2c0059d7b215614fe (patch) | |
tree | a71bff18c78c29da324057f5218f57e82465887b /sysutils/gkrellm | |
parent | 9c6e4c8dfd3a0789cc1ea61329779ad863c5daef (diff) | |
download | pkgsrc-a74ffc25003e1613815edbd2c0059d7b215614fe.tar.gz |
Merge after gkrellm2 import.
Diffstat (limited to 'sysutils/gkrellm')
-rw-r--r-- | sysutils/gkrellm/Makefile | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile index 13f9b1e80cf..60b8257c2bb 100644 --- a/sysutils/gkrellm/Makefile +++ b/sysutils/gkrellm/Makefile @@ -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" -DISTNAME= gkrellm-1.2.13 -PKGREVISION= 3 -CATEGORIES= sysutils -MASTER_SITES= http://web.wt.net/~billw/gkrellm/ -EXTRACT_SUFX= .tar.bz2 +GKRELLM_PKGBASE= gkrellm +WRKSRC= ${GKRELLM_SRCDIR} -MAINTAINER= anthony.mallet@ficus.yi.org -HOMEPAGE= http://gkrellm.net/ -COMMENT= GTK based system monitor +COMMENT= GTK2 based system monitor -BUILD_USES_MSGFMT= YES +DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share -OSVERSION_SPECIFIC= YES -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES USE_X11= YES -USE_GNU_TOOLS+= make -USE_PKGLOCALEDIR= YES +USE_PKGINSTALL= YES -ALL_TARGET= netbsd -INSTALL_TARGET= install_netbsd +.include "../../mk/bsd.prefs.mk" -MAKE_ENV+= PTHREAD_INC="-I${LOCALBASE}/include" -MAKE_ENV+= EXPORT_SYMBOLS_LDFLAGS="${EXPORT_SYMBOLS_LDFLAGS}" +.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD") +SPECIAL_PERMS+= ${PREFIX}/bin/gkrellm ${ROOT_USER} kmem 2711 +.endif + +NOT_FOR_PLATFORM= IRIX-* + +MAKE_ENV+= MODULES=src LINK_FLAGS=${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 "../../x11/gtk2/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" -.include "../../graphics/imlib/buildlink2.mk" .include "../../mk/bsd.pkg.mk" |