From 3d8906ee4c07ef2e3b0a519a47463fc2432a455e Mon Sep 17 00:00:00 2001 From: vanilla Date: Wed, 11 Jun 2014 09:06:19 +0000 Subject: 1: Stagify. 2: new format of LIB_DEPENDS --- textproc/libtranslate/Makefile | 8 ++------ textproc/libtranslate/pkg-plist | 6 ++++-- 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 -- cgit