svn commit: r360518 - head/textproc/tidyp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Jul 4 02:48:59 UTC 2014
Author: sunpoet
Date: Fri Jul 4 02:48:58 2014
New Revision: 360518
URL: http://svnweb.freebsd.org/changeset/ports/360518
QAT: https://qat.redports.org/buildarchive/r360518/
Log:
- Convert to new options helper
- Use PLIST
Added:
head/textproc/tidyp/pkg-plist (contents, props changed)
Modified:
head/textproc/tidyp/Makefile
Modified: head/textproc/tidyp/Makefile
==============================================================================
--- head/textproc/tidyp/Makefile Fri Jul 4 02:48:52 2014 (r360517)
+++ head/textproc/tidyp/Makefile Fri Jul 4 02:48:58 2014 (r360518)
@@ -13,40 +13,18 @@ COMMENT= Library and program to validate
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USES= libtool
USE_LDCONFIG= yes
+USES= libtool
OPTIONS_DEFINE= ACCESS ASIAN DEBUG UTF16
ACCESS_DESC= Accessibility checks
ASIAN_DESC= Asian encodings
-PLIST_FILES= bin/${PORTNAME} \
- include/${PORTNAME}/buffio.h \
- include/${PORTNAME}/platform.h \
- include/${PORTNAME}/tidyp.h \
- include/${PORTNAME}/tidypenum.h \
- lib/lib${PORTNAME}-${PORTVERSION}.so.0 \
- lib/lib${PORTNAME}-${PORTVERSION}.so.0.0.0 \
- lib/lib${PORTNAME}.a \
- lib/lib${PORTNAME}.so
-PLIST_DIRS= include/${PORTNAME}
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MACCESS}
-CONFIGURE_ARGS+=--enable-access
-.endif
-
-.if ${PORT_OPTIONS:MASIAN}
-CONFIGURE_ARGS+=--enable-asian
-.endif
-
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+=--enable-debug
-.endif
+PLIST_SUB= PORTVERSION=${PORTVERSION}
-.if ${PORT_OPTIONS:MUTF16}
-CONFIGURE_ARGS+=--enable-utf16
-.endif
+ACCESS_CONFIGURE_ENABLE=access
+ASIAN_CONFIGURE_ENABLE= asian
+DEBUG_CONFIGURE_ENABLE= debug
+UTF16_CONFIGURE_ENABLE= utf16
.include <bsd.port.mk>
Added: head/textproc/tidyp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/tidyp/pkg-plist Fri Jul 4 02:48:58 2014 (r360518)
@@ -0,0 +1,10 @@
+bin/tidyp
+include/tidyp/buffio.h
+include/tidyp/platform.h
+include/tidyp/tidyp.h
+include/tidyp/tidypenum.h
+lib/libtidyp-%%PORTVERSION%%.so.0
+lib/libtidyp-%%PORTVERSION%%.so.0.0.0
+lib/libtidyp.a
+lib/libtidyp.so
+ at dirrm include/tidyp
More information about the svn-ports-all
mailing list