diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-02 01:01:36 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-05-02 01:01:36 +0800 |
commit | e1c3df9a634fbba880cc85c861494e329ea1defd (patch) | |
tree | 4cec994249531f30e0c0dd159cbdb3665c4928a5 /deskutils/gdesklets/Makefile | |
parent | cefea56dff509786ec722a1325bbce6c0b259742 (diff) | |
download | marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.tar marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.tar.gz marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.tar.bz2 marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.tar.lz marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.tar.xz marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.tar.zst marcuscom-ports-e1c3df9a634fbba880cc85c861494e329ea1defd.zip |
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8726 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gdesklets/Makefile')
-rw-r--r-- | deskutils/gdesklets/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/deskutils/gdesklets/Makefile b/deskutils/gdesklets/Makefile new file mode 100644 index 000000000..d967ba16e --- /dev/null +++ b/deskutils/gdesklets/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: gdesklets +# Date created: 11 August 2003 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= gdesklets +PORTVERSION= 0.35.4 +PORTREVISION= 1 +CATEGORIES= deskutils gnome +MASTER_SITES= http://www.gdesklets.org/downloads/ \ + http://www.pycage.de/download/${PORTNAME}/ \ + ${MASTER_SITE_GENTOO:S/%SUBDIR%/distfiles/} +DISTNAME= gDesklets-${PORTVERSION} + +MAINTAINER= klammer@webonaut.com +COMMENT= A framework for Gnome 2.x for desktop applets + +LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop + +INSTALLS_ICONS= yes +USE_BZIP2= yes +USE_GETTEXT= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_PYTHON= yes +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix gnometarget intlhack librsvg2 pygnomeextras + +OPTIONS= GDBM "install py-gdbm instead py-bsddb for config storage" off + +MAN1= gdesklets.1 +MANCOMPRESSED= no + +.include <bsd.port.pre.mk> + +.if defined(WITH_GDBM) +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gdbm.so:${PORTSDIR}/databases/py-gdbm +.else +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb +.endif + +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" +CONFIGURE_ARGS= --mandir=${PREFIX}/man/ + +post-install: + @${MKDIR} ${PREFIX}/share/gdesklets/Displays + @${MKDIR} ${PREFIX}/share/gdesklets/Sensors + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/lib/gdesklets + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> |