Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 23:19:30 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357399 - in head/textproc/liblingoteach: . files
Message-ID:  <201406102319.s5ANJUW9080628@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jun 10 23:19:30 2014
New Revision: 357399
URL: http://svnweb.freebsd.org/changeset/ports/357399
QAT: https://qat.redports.org/buildarchive/r357399/

Log:
  - Support staging
  - Switch to USES=libtool, drop .la files

Added:
  head/textproc/liblingoteach/files/patch-doc__Makefile.in
     - copied, changed from r357373, head/textproc/liblingoteach/files/patch-doc-Makefile.in
Deleted:
  head/textproc/liblingoteach/files/patch-doc-Makefile.in
Modified:
  head/textproc/liblingoteach/Makefile
  head/textproc/liblingoteach/pkg-plist

Modified: head/textproc/liblingoteach/Makefile
==============================================================================
--- head/textproc/liblingoteach/Makefile	Tue Jun 10 22:52:51 2014	(r357398)
+++ head/textproc/liblingoteach/Makefile	Tue Jun 10 23:19:30 2014	(r357399)
@@ -2,19 +2,17 @@
 
 PORTNAME=	liblingoteach
 PORTVERSION=	0.2.1
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	textproc
 MASTER_SITES=	SF/lingoteach/OldFiles
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library for parsing lesson files based on the LingoTeach DTD
 
-USE_AUTOTOOLS=	libtool
-USES=		gmake pathfix pkgconfig
+USES=		gmake pathfix pkgconfig libtool
 USE_GNOME=	libxml2
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-NO_STAGE=	yes
 
 OPTIONS_DEFINE=	DOCS ZLIB DEBUG
 OPTIONS_DEFAULT=	ZLIB
@@ -26,10 +24,13 @@ DEBUG_CONFIGURE_ENABLE=	debug
 
 .include <bsd.port.options.mk>
 
-.if !${PORT_OPTIONS:MDOCS}
+.if ! ${PORT_OPTIONS:MDOCS}
 post-patch:
 	@${REINPLACE_CMD} 's|SUBDIRS = src test doc|SUBDIRS = src test|' \
 		${WRKSRC}/Makefile.in
 .endif
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
+
 .include <bsd.port.mk>

Copied and modified: head/textproc/liblingoteach/files/patch-doc__Makefile.in (from r357373, head/textproc/liblingoteach/files/patch-doc-Makefile.in)
==============================================================================
--- head/textproc/liblingoteach/files/patch-doc-Makefile.in	Tue Jun 10 20:12:13 2014	(r357373, copy source)
+++ head/textproc/liblingoteach/files/patch-doc__Makefile.in	Tue Jun 10 23:19:30 2014	(r357399)
@@ -1,5 +1,5 @@
---- doc/Makefile.in.orig	Sun Oct 12 13:30:43 2003
-+++ doc/Makefile.in	Tue Oct 14 23:35:13 2003
+--- doc/Makefile.in.orig	2014-06-03 00:20:20.000000000 +0400
++++ doc/Makefile.in	2014-06-03 04:37:01.000000000 +0400
 @@ -88,7 +88,7 @@
  am__quote = @am__quote@
  install_sh = @install_sh@
@@ -9,3 +9,14 @@
  HTML_DIR = $(datadir)/doc
  subdir = doc
  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+@@ -215,8 +215,8 @@
+ 
+ 
+ install: all
+-	-mkdir -p $(HTML_DIR)/$(DOC_MODULE)
+-	-cp -r html $(HTML_DIR)/$(DOC_MODULE)
++	-mkdir -p $(DESTDIR)$(HTML_DIR)/$(DOC_MODULE)
++	-cp -r html $(DESTDIR)$(HTML_DIR)/$(DOC_MODULE)
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:

Modified: head/textproc/liblingoteach/pkg-plist
==============================================================================
--- head/textproc/liblingoteach/pkg-plist	Tue Jun 10 22:52:51 2014	(r357398)
+++ head/textproc/liblingoteach/pkg-plist	Tue Jun 10 23:19:30 2014	(r357399)
@@ -1,9 +1,8 @@
 include/lingoteach/lingdefs.h
 include/lingoteach/lingoteach.h
 lib/liblingoteach.a
-lib/liblingoteach.la
 lib/liblingoteach.so
-lib/liblingoteach.so.3
+lib/liblingoteach.so.2.1.0
 libdata/pkgconfig/liblingoteach.pc
 %%PORTDOCS%%%%DOCSDIR%%/html/a00010.html
 %%PORTDOCS%%%%DOCSDIR%%/html/a00011.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406102319.s5ANJUW9080628>