2003-09-02 06:24:00 +00:00
|
|
|
# New ports collection makefile for: gdesklets
|
|
|
|
# Date created: 11 August 2003
|
|
|
|
# Whom: Mezz <mezz7@cox.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gdesklets
|
2004-02-24 16:07:10 +00:00
|
|
|
PORTVERSION= 0.26
|
2003-09-02 06:24:00 +00:00
|
|
|
CATEGORIES= deskutils gnome
|
|
|
|
MASTER_SITES= http://www.pycage.de/download/${PORTNAME}/
|
|
|
|
DISTNAME= gDesklets-${PORTVERSION}
|
|
|
|
|
2003-12-30 22:34:22 +00:00
|
|
|
MAINTAINER= klammer@webonaut.com
|
2003-09-02 06:24:00 +00:00
|
|
|
COMMENT= A framework for Gnome 2.x for desktop applets
|
|
|
|
|
2003-09-02 20:38:01 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
|
2003-11-10 17:21:37 +00:00
|
|
|
LIB_DEPENDS= gtop-2.0.2:${PORTSDIR}/devel/libgtop2
|
2003-09-02 06:24:00 +00:00
|
|
|
RUN_DEPENDS= ${PYXML} \
|
|
|
|
${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
USE_GMAKE= yes
|
2004-03-14 06:17:56 +00:00
|
|
|
USE_LIBTOOL_VER= 13
|
2003-09-02 06:24:00 +00:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix gnometarget
|
|
|
|
|
2003-10-18 05:51:26 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}"
|
|
|
|
|
2003-09-26 11:02:10 +00:00
|
|
|
MAN1= gdesklets.1
|
|
|
|
|
2003-09-02 06:24:00 +00:00
|
|
|
post-install:
|
2003-09-03 04:32:06 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/gnome/gdesklets/Displays
|
2004-02-24 16:07:10 +00:00
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/config
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/data
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/desktop
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/display
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/factory
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/libdesklets
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/main
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/sensor
|
|
|
|
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${PREFIX}/share/gnome/gdesklets/utils
|
2003-09-02 06:24:00 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|