1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/net/gdesklets-rssgrab/Makefile
Pav Lucistnik ef2e562ff0 - Update to 0.6.1
0.6.2 is coring python in feedparser.py, help from someone with python-fu
  is welcomed.
2004-05-29 10:25:13 +00:00

45 lines
1.5 KiB
Makefile

# New ports collection makefile for: gdesklets-rssgrab
# Date created: 4 January 2004
# Whom: Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rssgrab
PORTVERSION= 0.6.1
CATEGORIES= net gnome
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
MAINTAINER= pav@FreeBSD.org
COMMENT= View the content of RSS/RDF feed on your desktop
RUN_DEPENDS= ${X11BASE}/share/gnome/gdesklets/Sensors/DisplayConstraints/__init__.py:${PORTSDIR}/deskutils/gdesklets-sensor-displayconstraints
USE_PYTHON= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
NAME= rssgrab
DATADIR= ${PREFIX}/share/gnome
PKGMESSAGE= ${WRKDIR}/pkg-message
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}/gdesklets/Displays/${NAME}/gfx/bg
@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}
@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/gdesklets/Sensors/${NAME}/
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/gdesklets/Sensors/${NAME}/
@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/gdesklets/Displays/${NAME}/
@${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/
@${INSTALL_DATA} ${WRKSRC}/gfx/bg/*.png ${DATADIR}/gdesklets/Displays/${NAME}/gfx/bg/
@${INSTALL_DATA} ${WRKSRC}/README ${DATADIR}/gdesklets/Displays/${NAME}/
@${LN} -s ${DATADIR}/gdesklets/Displays/${NAME}/README \
${DATADIR}/gdesklets/Sensors/${NAME}/README
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>