mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Switch to USES=libtool, drop .la files
This commit is contained in:
parent
b849dfb5df
commit
65e65b2b7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357399
@ -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>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- doc/Makefile.in.orig Sun Oct 12 13:30:43 2003
|
||||
+++ doc/Makefile.in Tue Oct 14 23:35:13 2003
|
||||
@@ -88,7 +88,7 @@
|
||||
am__quote = @am__quote@
|
||||
install_sh = @install_sh@
|
||||
|
||||
-DOC_MODULE = liblingoteach-$(VERSION)
|
||||
+DOC_MODULE = liblingoteach
|
||||
HTML_DIR = $(datadir)/doc
|
||||
subdir = doc
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
22
textproc/liblingoteach/files/patch-doc__Makefile.in
Normal file
22
textproc/liblingoteach/files/patch-doc__Makefile.in
Normal file
@ -0,0 +1,22 @@
|
||||
--- 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@
|
||||
|
||||
-DOC_MODULE = liblingoteach-$(VERSION)
|
||||
+DOC_MODULE = liblingoteach
|
||||
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:
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user