aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-11 17:06:19 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-11 17:06:19 +0800
commit3d8906ee4c07ef2e3b0a519a47463fc2432a455e (patch)
tree2802e96a899b2de31ce3a77e1f145f2baaf8b151 /textproc
parent337c80ba93d6e1658f0629016917a360e082402d (diff)
downloadfreebsd-ports-gnome-3d8906ee4c07ef2e3b0a519a47463fc2432a455e.tar.gz
freebsd-ports-gnome-3d8906ee4c07ef2e3b0a519a47463fc2432a455e.tar.zst
freebsd-ports-gnome-3d8906ee4c07ef2e3b0a519a47463fc2432a455e.zip
1: Stagify.
2: new format of LIB_DEPENDS
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libtranslate/Makefile8
-rw-r--r--textproc/libtranslate/pkg-plist6
2 files changed, 6 insertions, 8 deletions
diff --git a/textproc/libtranslate/Makefile b/textproc/libtranslate/Makefile
index 59e562ad89da..763be2adf48e 100644
--- a/textproc/libtranslate/Makefile
+++ b/textproc/libtranslate/Makefile
@@ -30,9 +30,6 @@ OPTIONS_DEFAULT= GENERIC TALKFILTERS
GENERIC_DESC= generic module
TALKFILTERS_DESC= talkfilters module
-MAN1= translate.1
-
-NO_STAGE= yes
post-patch::
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' \
-e 's|libsoup-2.2|libsoup-2.4|g' ${WRKSRC}/configure
@@ -42,8 +39,7 @@ post-patch::
.if ${PORT_OPTIONS:MGENERIC}
PLIST_SUB+= GENERIC=""
USE_GNOME+= libxml2
-LIB_DEPENDS+= soup-2.4:${PORTSDIR}/devel/libsoup
-MAN5+= services.xml.5
+LIB_DEPENDS+= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
CPPFLAGS+= -DHAVE_LIBSOUP24
DISTFILES+= libtranslate-0.99-libsoup24.diff
EXTRACT_ONLY= ${DISTFILES:M*tar.*}
@@ -59,7 +55,7 @@ PLIST_SUB+= GENERIC="@comment "
.if ${PORT_OPTIONS:MTALKFILTERS}
PLIST_SUB+= TALKFILTERS=""
-LIB_DEPENDS+= talkfilters:${PORTSDIR}/misc/talkfilters
+LIB_DEPENDS+= libtalkfilters.so:${PORTSDIR}/misc/talkfilters
.else
CONFIGURE_ARGS+= --disable-talkfilters
PLIST_SUB+= TALKFILTERS="@comment "
diff --git a/textproc/libtranslate/pkg-plist b/textproc/libtranslate/pkg-plist
index 6fb2b15e5bc9..aed2b97846a1 100644
--- a/textproc/libtranslate/pkg-plist
+++ b/textproc/libtranslate/pkg-plist
@@ -11,6 +11,8 @@ lib/libtranslate.so.0
%%GENERIC%%lib/libtranslate/modules/generic.so
%%TALKFILTERS%%lib/libtranslate/modules/talkfilters.so
libdata/pkgconfig/libtranslate.pc
+man/man1/translate.1.gz
+%%GENERIC%%man/man5/services.xml.5.gz
share/doc/libtranslate/TranslatePair.html
share/doc/libtranslate/TranslateService.html
share/doc/libtranslate/TranslateSession.html
@@ -32,8 +34,8 @@ share/doc/libtranslate/rfc3066-builtin.html
share/doc/libtranslate/right.png
share/doc/libtranslate/tutorials.html
share/doc/libtranslate/up.png
-share/libtranslate/services.dtd
-share/libtranslate/services.xml
+%%GENERIC%%share/libtranslate/services.dtd
+%%GENERIC%%share/libtranslate/services.xml
share/locale/fr/LC_MESSAGES/libtranslate.mo
@dirrm include/libtranslate
@dirrm lib/libtranslate/modules