1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/www/syndigator/Makefile

49 lines
1.6 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
# $MCom: ports/www/syndigator/Makefile,v 1.4 2007/09/09 22:45:27 mezz Exp $
PORTNAME= syndigator
PORTVERSION= 0.15.1
PORTREVISION= 8
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/Syndigator/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An RSS feed reader based on Gtk2
RUN_DEPENDS= p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv \
p5-Date-Manip>=0:${PORTSDIR}/devel/p5-Date-Manip \
p5-XML-RSS>=0:${PORTSDIR}/textproc/p5-XML-RSS \
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-Gnome2>=0:${PORTSDIR}/x11-toolkits/p5-Gnome2 \
p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-Gtk2-Html2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2-Html2
USES= perl5
USE_GNOME= gnomehier
NO_BUILD= yes
GNOMEDIR= ${PREFIX}/share
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -i '' -e 's|./lib|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}|' \
${WRKSRC}/syndigator
@${REINPLACE_CMD} -i '' -e 's|./images/|${GNOMEDIR}/pixmaps/${PORTNAME}/|' \
${WRKSRC}/lib/RSSReader/Gtk2UI/IconFactory.pm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/syndigator ${PREFIX}/bin
@${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
cd ${WRKSRC}/lib && ${FIND} . | \
${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}
@${MKDIR} ${GNOMEDIR}/applications
${INSTALL_DATA} ${WRKSRC}/syndigator.desktop ${GNOMEDIR}/applications
@${MKDIR} ${GNOMEDIR}/pixmaps
${INSTALL_DATA} ${WRKSRC}/icons/*.* ${GNOMEDIR}/pixmaps
@${MKDIR} ${GNOMEDIR}/pixmaps/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/images/*.* ${GNOMEDIR}/pixmaps/${PORTNAME}
.include <bsd.port.mk>