mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- Replace LIB_DEPENDS=libglibmm-2.4.so with USE_GNOME=glibmm
- Add USES=libtool and INSTALL_TARGET=install-strip
This commit is contained in:
parent
26ecdf9dc3
commit
f0f47eeb45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366913
2 changed files with 6 additions and 10 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
PORTNAME= libxml++
|
PORTNAME= libxml++
|
||||||
PORTVERSION= 2.34.2
|
PORTVERSION= 2.34.2
|
||||||
PORTREVISION?= 1
|
PORTREVISION?= 2
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= GNOME
|
MASTER_SITES= GNOME
|
||||||
|
|
||||||
|
@ -17,22 +17,18 @@ PLIST_SUB= VERSION="2.6" API_VERSION="2.6"
|
||||||
|
|
||||||
.if !defined(REFERENCE_PORT)
|
.if !defined(REFERENCE_PORT)
|
||||||
|
|
||||||
LATEST_LINK= libxml++26
|
|
||||||
|
|
||||||
LIB_DEPENDS= libglibmm-2.4.so:${PORTSDIR}/devel/glibmm
|
|
||||||
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
||||||
|
|
||||||
USES+= gmake pathfix pkgconfig
|
USES+= gmake libtool pathfix pkgconfig
|
||||||
USE_GNOME= libxml2
|
USE_GNOME= glibmm libxml2
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ARGS= --enable-static --disable-documentation
|
CONFIGURE_ARGS= --enable-static --disable-documentation
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '/^gentoo_ltmain_version=/s/`.*`/$$gentoo_lt_version/' \
|
|
||||||
${WRKSRC}/configure
|
|
||||||
@${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \
|
@${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \
|
||||||
${WRKSRC}/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \
|
@${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \
|
||||||
|
|
|
@ -30,9 +30,9 @@ include/libxml++-%%API_VERSION%%/libxml++/validators/dtdvalidator.h
|
||||||
include/libxml++-%%API_VERSION%%/libxml++/validators/schemavalidator.h
|
include/libxml++-%%API_VERSION%%/libxml++/validators/schemavalidator.h
|
||||||
include/libxml++-%%API_VERSION%%/libxml++/validators/validator.h
|
include/libxml++-%%API_VERSION%%/libxml++/validators/validator.h
|
||||||
lib/libxml++-%%VERSION%%.a
|
lib/libxml++-%%VERSION%%.a
|
||||||
lib/libxml++-%%VERSION%%.la
|
|
||||||
lib/libxml++-%%VERSION%%.so
|
lib/libxml++-%%VERSION%%.so
|
||||||
lib/libxml++-%%VERSION%%.so.2
|
lib/libxml++-%%VERSION%%.so.2
|
||||||
|
lib/libxml++-%%VERSION%%.so.2.0.7
|
||||||
libdata/pkgconfig/libxml++-%%API_VERSION%%.pc
|
libdata/pkgconfig/libxml++-%%API_VERSION%%.pc
|
||||||
@dirrm include/libxml++-%%API_VERSION%%/libxml++/validators
|
@dirrm include/libxml++-%%API_VERSION%%/libxml++/validators
|
||||||
@dirrm include/libxml++-%%API_VERSION%%/libxml++/parsers
|
@dirrm include/libxml++-%%API_VERSION%%/libxml++/parsers
|
||||||
|
|
Loading…
Add table
Reference in a new issue