summaryrefslogtreecommitdiffstats
path: root/net/fidelio/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-11-15 18:26:29 +0000
committersobomax <sobomax@FreeBSD.org>2000-11-15 18:26:29 +0000
commit6409f7f156aa807314552c13ad2bca7dfc558cb1 (patch)
tree9203237d8e8afcde4bc9ac3b2d62453990785ca4 /net/fidelio/Makefile
parent79296cae899c967fc6c6b8e1c3f607ca98b649b0 (diff)
downloadFreeBSD-ports-6409f7f156aa807314552c13ad2bca7dfc558cb1.zip
FreeBSD-ports-6409f7f156aa807314552c13ad2bca7dfc558cb1.tar.gz
Add fidelio. Fidelio is a GNOME-based client for Hotline, a proprietary
protocol that combines ftp-like, irc-like and news-like functions in one package.
Diffstat (limited to 'net/fidelio/Makefile')
-rw-r--r--net/fidelio/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/net/fidelio/Makefile b/net/fidelio/Makefile
new file mode 100644
index 0000000..fd2ec3b
--- /dev/null
+++ b/net/fidelio/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: fidelio
+# Date created: 13 November 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= fidelio
+PORTVERSION= 0.9.5
+CATEGORIES= net gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
+
+XML_CONFIG?= ${LOCALBASE}/bin/xml2-config
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${GLIB_CONFIG} --cflags gthread`" \
+ LDFLAGS="-L${LOCALBASE}/lib `${GLIB_CONFIG} --libs gthread`" \
+ XML_CONFIG="${XML_CONFIG}"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @find ${WRKSRC} -type f -name "*.[ch]" | \
+ xargs ${PERL} -pi -e 's|libxml/|libxml2/|g'
+ @${PERL} -pi -e 's|libxml/|libxml2/|g ; s|-lxml|-lxml2|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud