blob: f7138f4dcc5c8f428b91aad2b1643c3897761e52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Ports collection Makefile for: liferea
# Date created: 28 August 2003
# Whom: Hye-Shik Chang <perky@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= liferea
PORTVERSION= 0.5.3b
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
USE_LIBTOOL_VER=15
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= liferea.1
.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>
|