summaryrefslogtreecommitdiffstats
path: root/net-p2p/fidelio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/fidelio/Makefile')
-rw-r--r--net-p2p/fidelio/Makefile34
1 files changed, 8 insertions, 26 deletions
diff --git a/net-p2p/fidelio/Makefile b/net-p2p/fidelio/Makefile
index 9c4e818..149e4e0 100644
--- a/net-p2p/fidelio/Makefile
+++ b/net-p2p/fidelio/Makefile
@@ -6,42 +6,24 @@
#
PORTNAME= fidelio
-PORTVERSION= 0.9.6
-PORTREVISION= 1
+PORTVERSION= 1.0.b1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A GNOME client for Hotline
-LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \
- xml2.5:${PORTSDIR}/textproc/libxml2
-
-XML_CONFIG?= ${LOCALBASE}/bin/xml2-config
-
-USE_REINPLACE= yes
USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomelibs gnomeprefix
USE_GMAKE= yes
-USE_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libxml2 \
- -I${LOCALBASE}/include \
- `${GLIB_CONFIG} --cflags gthread`" \
- LDFLAGS="-L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`" \
- XML_CONFIG="${XML_CONFIG}"
-CONFIGURE_ARGS= --without-included-gettext
-CFLAGS+= -DHAVE_STRCASESTR
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
-pre-patch:
- @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \
- s|\$$(datadir)/locale|\$$(prefix)/share/locale|g'
- @${REINPLACE_CMD} -e 's|-lxml|-lxml2|g' \
- ${WRKSRC}/configure
- @${REINPLACE_CMD} -e 's|extern int strcasestr|//extern int strcasestr|' \
- ${WRKSRC}/src/trackers.c
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|<xmlversion.h>|<libxml/xmlversion.h>|g' ${WRKSRC}/configure
.include <bsd.port.mk>
OpenPOWER on IntegriCloud