svn commit: r330919 - head/textproc/liblingoteach
Marcus von Appen
mva at FreeBSD.org
Sat Oct 19 17:24:21 UTC 2013
Author: mva
Date: Sat Oct 19 17:24:21 2013
New Revision: 330919
URL: http://svnweb.freebsd.org/changeset/ports/330919
Log:
- Convert to new options framework
- Enable proper PORTDOCS support
- Drop maintainership
Modified:
head/textproc/liblingoteach/Makefile (contents, props changed)
head/textproc/liblingoteach/pkg-plist (contents, props changed)
Modified: head/textproc/liblingoteach/Makefile
==============================================================================
--- head/textproc/liblingoteach/Makefile Sat Oct 19 17:23:31 2013 (r330918)
+++ head/textproc/liblingoteach/Makefile Sat Oct 19 17:24:21 2013 (r330919)
@@ -1,38 +1,35 @@
-# Created by: Marcus von Appen
# $FreeBSD$
PORTNAME= liblingoteach
PORTVERSION= 0.2.1
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= SF/lingoteach/OldFiles
-MAINTAINER= mva at FreeBSD.org
-COMMENT= A library for parsing lesson files based on the LingoTeach DTD
+MAINTAINER= ports at FreeBSD.org
+COMMENT= Library for parsing lesson files based on the LingoTeach DTD
USE_AUTOTOOLS= libtool
USES= gmake pathfix pkgconfig
USE_GNOME= libxml2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+NO_STAGE= yes
-.if defined(WITH_COMP)
-CONFIGURE_ARGS+= --with-compression
-.endif
+OPTIONS_DEFINE= DOCS ZLIB DEBUG
+OPTIONS_DEFAULT= ZLIB
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug
-.endif
+DEBUG_DESC= Additional debugging information and output
-NO_STAGE= yes
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "liblingoteach can be used with the following switches:"
- @${ECHO_MSG} ""
- @${ECHO_MSG} " WITH_COMP=yes Enables zlib compression of"
- @${ECHO_MSG} " the lesson files"
- @${ECHO_MSG} " WITH_DEBUG=yes Enables additional debugging"
- @${ECHO_MSG} " information and output"
- @${ECHO_MSG} ""
+ZLIB_CONFIGURE_WITH= compression
+DEBUG_CONFIGURE_ENABLE= debug
+
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MDOCS}
+post-patch:
+ @${REINPLACE_CMD} 's|SUBDIRS = src test doc|SUBDIRS = src test|' \
+ ${WRKSRC}/Makefile.in
+.endif
.include <bsd.port.mk>
Modified: head/textproc/liblingoteach/pkg-plist
==============================================================================
--- head/textproc/liblingoteach/pkg-plist Sat Oct 19 17:23:31 2013 (r330918)
+++ head/textproc/liblingoteach/pkg-plist Sat Oct 19 17:24:21 2013 (r330919)
@@ -5,28 +5,28 @@ lib/liblingoteach.la
lib/liblingoteach.so
lib/liblingoteach.so.3
libdata/pkgconfig/liblingoteach.pc
-share/doc/liblingoteach/html/a00010.html
-share/doc/liblingoteach/html/a00011.html
-share/doc/liblingoteach/html/a00012.html
-share/doc/liblingoteach/html/a00013.html
-share/doc/liblingoteach/html/a00014.html
-share/doc/liblingoteach/html/a00015.html
-share/doc/liblingoteach/html/a00016.html
-share/doc/liblingoteach/html/a00017.html
-share/doc/liblingoteach/html/a00018.html
-share/doc/liblingoteach/html/annotated.html
-share/doc/liblingoteach/html/classes.html
-share/doc/liblingoteach/html/doxygen.css
-share/doc/liblingoteach/html/doxygen.png
-share/doc/liblingoteach/html/files.html
-share/doc/liblingoteach/html/functions.html
-share/doc/liblingoteach/html/functions_vars.html
-share/doc/liblingoteach/html/globals.html
-share/doc/liblingoteach/html/globals_enum.html
-share/doc/liblingoteach/html/globals_eval.html
-share/doc/liblingoteach/html/globals_func.html
-share/doc/liblingoteach/html/globals_type.html
-share/doc/liblingoteach/html/index.html
- at dirrm share/doc/liblingoteach/html
- at dirrm share/doc/liblingoteach
+%%PORTDOCS%%%%DOCSDIR%%/html/a00010.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00011.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00012.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00013.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00014.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00015.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00016.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00017.html
+%%PORTDOCS%%%%DOCSDIR%%/html/a00018.html
+%%PORTDOCS%%%%DOCSDIR%%/html/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/html/classes.html
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.png
+%%PORTDOCS%%%%DOCSDIR%%/html/files.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions.html
+%%PORTDOCS%%%%DOCSDIR%%/html/functions_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_enum.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_eval.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_func.html
+%%PORTDOCS%%%%DOCSDIR%%/html/globals_type.html
+%%PORTDOCS%%%%DOCSDIR%%/html/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm include/lingoteach
More information about the svn-ports-all
mailing list