|
Lines 1-37
Link Here
|
| 1 |
PORTNAME= libxml++ |
1 |
PORTNAME= libxml++ |
| 2 |
PORTVERSION= 2.40.1 |
2 |
DISTVERSION= 2.42.3 |
| 3 |
PORTREVISION?= 2 |
|
|
| 4 |
PORTEPOCH= 1 |
3 |
PORTEPOCH= 1 |
| 5 |
CATEGORIES= textproc |
4 |
CATEGORIES= textproc |
| 6 |
MASTER_SITES= GNOME |
5 |
MASTER_SITES= GNOME \ |
|
|
6 |
https://github.com/libxmlplusplus/libxmlplusplus/releases/download/${DISTVERSION}/ |
| 7 |
|
7 |
|
| 8 |
MAINTAINER= gnome@FreeBSD.org |
8 |
MAINTAINER= gnome@FreeBSD.org |
| 9 |
COMMENT= XML API for C++ |
9 |
COMMENT= XML API for C++ |
| 10 |
WWW= https://libxmlplusplus.sourceforge.net/ |
10 |
WWW= https://libxmlplusplus.github.io/libxmlplusplus/ |
| 11 |
|
11 |
|
| 12 |
USES+= tar:xz compiler:c++11-lang |
12 |
LICENSE= LGPL21 |
| 13 |
USE_CXXSTD= c++11 |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 14 |
|
14 |
|
| 15 |
PLIST_SUB= VERSION="2.6" API_VERSION="2.6" |
15 |
USES= compiler:c++11-lang meson gnome pkgconfig tar:xz |
| 16 |
|
|
|
| 17 |
.if !defined(REFERENCE_PORT) |
| 18 |
|
| 19 |
USES+= gmake libtool pathfix pkgconfig gnome |
| 20 |
USE_GNOME= glibmm libxml2 |
16 |
USE_GNOME= glibmm libxml2 |
| 21 |
USE_LDCONFIG= yes |
17 |
USE_LDCONFIG= yes |
| 22 |
GNU_CONFIGURE= yes |
|
|
| 23 |
CONFIGURE_ARGS= --enable-static --disable-documentation |
| 24 |
INSTALL_TARGET= install-strip |
| 25 |
BINARY_WRAPPERS= gm4 |
| 26 |
|
18 |
|
| 27 |
post-patch: |
19 |
MESON_ARGS= -Ddefault_library=both \ |
| 28 |
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ |
20 |
-Dbuild-examples=false \ |
| 29 |
${WRKSRC}/Makefile.in |
21 |
-Dbuild-manual=false |
| 30 |
@${REINPLACE_CMD} -e '/^library_configdir =/s/libdir/includedir/' \ |
|
|
| 31 |
${WRKSRC}/Makefile.in |
| 32 |
@${REINPLACE_CMD} -e '/^Cflags:/s/libdir/includedir/' \ |
| 33 |
${WRKSRC}/libxml++-2.6.pc.in |
| 34 |
|
22 |
|
| 35 |
.include <bsd.port.mk> |
23 |
PLIST_SUB= VERSION="2.6" \ |
|
|
24 |
API_VERSION="2.6" |
| 36 |
|
25 |
|
| 37 |
.endif |
26 |
.include <bsd.port.mk> |