2004-04-20 09:37:37 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection Makefile for: syndigator
|
|
|
|
# Date created: Apr 20, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 08:54:54 +00:00
|
|
|
# $MCom: ports/www/syndigator/Makefile,v 1.1 2006/09/30 18:31:24 ahze Exp $
|
2004-04-20 09:37:37 +00:00
|
|
|
|
|
|
|
PORTNAME= syndigator
|
2005-06-10 08:14:20 +00:00
|
|
|
PORTVERSION= 0.15.1
|
2006-10-14 08:54:54 +00:00
|
|
|
PORTREVISION= 1
|
2004-04-20 09:37:37 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= An RSS feed reader based on Gtk2
|
|
|
|
|
2005-06-10 08:14:20 +00:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
|
2004-04-20 09:37:37 +00:00
|
|
|
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
|
2005-06-10 08:14:20 +00:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
|
2004-04-20 09:37:37 +00:00
|
|
|
${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS \
|
2005-06-10 08:14:20 +00:00
|
|
|
${SITE_PERL}/XML/Simple.pm:${PORTSDIR}/textproc/p5-XML-Simple \
|
|
|
|
${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
|
2004-04-20 09:37:37 +00:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Gnome2.pm:${PORTSDIR}/x11-toolkits/p5-Gnome2 \
|
2005-06-10 08:14:20 +00:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/Gtk2/Html2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2-Html2
|
2004-04-20 09:37:37 +00:00
|
|
|
|
2006-10-14 08:54:54 +00:00
|
|
|
USE_X_LIB= yes
|
2005-06-10 08:14:20 +00:00
|
|
|
USE_GNOME= gnomehier
|
2004-04-20 09:37:37 +00:00
|
|
|
USE_PERL5= yes
|
2005-06-10 08:14:20 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
GNOMEDIR= ${PREFIX}/share/gnome
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e 's|./lib|${PREFIX}/${SITE_PERL_REL}/${PORTNAME}|g' \
|
|
|
|
${WRKSRC}/syndigator
|
|
|
|
@${PERL} -pi -e 's|./images/|${GNOMEDIR}/pixmaps/${PORTNAME}/|g' \
|
|
|
|
${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}
|
2004-04-20 09:37:37 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|