svn commit: r357435 - head/textproc/libtranslate

Vanilla I. Shu vanilla at FreeBSD.org
Wed Jun 11 09:06:20 UTC 2014


Author: vanilla
Date: Wed Jun 11 09:06:19 2014
New Revision: 357435
URL: http://svnweb.freebsd.org/changeset/ports/357435
QAT: https://qat.redports.org/buildarchive/r357435/

Log:
  1: Stagify.
  2: new format of LIB_DEPENDS

Modified:
  head/textproc/libtranslate/Makefile
  head/textproc/libtranslate/pkg-plist

Modified: head/textproc/libtranslate/Makefile
==============================================================================
--- head/textproc/libtranslate/Makefile	Wed Jun 11 09:03:20 2014	(r357434)
+++ head/textproc/libtranslate/Makefile	Wed Jun 11 09:06:19 2014	(r357435)
@@ -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 "

Modified: head/textproc/libtranslate/pkg-plist
==============================================================================
--- head/textproc/libtranslate/pkg-plist	Wed Jun 11 09:03:20 2014	(r357434)
+++ head/textproc/libtranslate/pkg-plist	Wed Jun 11 09:06:19 2014	(r357435)
@@ -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.h
 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


More information about the svn-ports-head mailing list