freebsd-ports/net/liferea/Makefile
Hye-Shik Chang f51f4943d5 Update to 0.4.8
PR:		66337
Submitted by:	mezz
2004-05-07 05:17:30 +00:00

49 lines
1.0 KiB
Makefile

# Ports collection Makefile for: liferea
# Date created: 28 August 2003
# Whom: Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= liferea
PORTVERSION= 0.4.8
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= liferea
MAINTAINER= perky@FreeBSD.org
COMMENT= Simple RSS/RDF feed reader
.ifdef WITH_MOZILLA
BUILD_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla
.endif
USE_X_PREFIX= yes
USE_GNOME= gnomeprefix gnomehack gconf2 libxml2 libgtkhtml \
gnomevfs2
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.ifdef WITH_MOZILLA
PLIST_SUB= MOZ=""
.else
PLIST_SUB= MOZ="@comment "
.endif
post-patch:
.ifdef WITH_MOZILLA
${REINPLACE_CMD} -e 's,/usr/lib/moz,${X11BASE}/lib/moz,g' \
${WRKSRC}/src/liferea
.else
${REINPLACE_CMD} -e 's,gtkmozembed,donttrythis,g' \
${WRKSRC}/configure
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>