update to libxmlbird-1.0.7
This commit is contained in:
parent
5b3f248c52
commit
dc536b9c28
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2015/10/09 12:48:22 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2015/10/29 08:47:21 jasper Exp $
|
||||
|
||||
COMMENT = XML parser written in Vala
|
||||
DISTNAME = libxmlbird-1.0.6
|
||||
DISTNAME = libxmlbird-1.0.7
|
||||
CATEGORIES = textproc
|
||||
REVISION = 1
|
||||
|
||||
SHARED_LIBS += xmlbird 0.0 # 1.0.6
|
||||
|
||||
@ -17,32 +16,31 @@ PERMIT_PACKAGE_CDROM = Yes
|
||||
MASTER_SITES = http://birdfont.org/xmlbird-releases/
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_ADJ_FILES = configure
|
||||
WANTLIB += glib-2.0
|
||||
|
||||
MODULES = devel/gettext \
|
||||
lang/python
|
||||
MODPY_ADJ_FILES = configure install.py
|
||||
|
||||
BUILD_DEPENDS = devel/py-doit \
|
||||
lang/vala
|
||||
LIB_DEPENDS = devel/glib2
|
||||
|
||||
TEST_DEPENDS = ${BASE_PKGPATH}
|
||||
|
||||
CONFIGURE_STYLE = simple
|
||||
|
||||
SUBST_VARS += DESTDIR
|
||||
|
||||
pre-configure:
|
||||
sed -i "s,bash,sh,g" ${WRKSRC}/scripts/run.py
|
||||
${SUBST_CMD} ${WRKSRC}/dodo.py
|
||||
${SUBST_CMD} ${WRKSRC}/dodo.py ${WRKSRC}/configure ${WRKSRC}/install.py
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${LOCALBASE}/bin/doit
|
||||
cd ${WRKSRC} && ${LOCALBASE}/bin/doit libxmlbird libxmlbird_pkgconfig
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/build/xmlbird.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/build/libxmlbird.so.${LIBxmlbird_VERSION} \
|
||||
${PREFIX}/lib
|
||||
${INSTALL_DATA} ${WRKSRC}/build/xmlbird.pc \
|
||||
${PREFIX}/lib/pkgconfig
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/vala/vapi
|
||||
${INSTALL_DATA} ${WRKSRC}/build/xmlbird.vapi \
|
||||
${PREFIX}/share/vala/vapi
|
||||
cd ${WRKSRC} && ./install.py
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && ${LOCALBASE}/bin/doit test
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libxmlbird-1.0.6.tar.xz) = aNiE5EjEgCdRlZeEDffJp7xQVdswu2qyEqD7R9ugsAg=
|
||||
SIZE (libxmlbird-1.0.6.tar.xz) = 16436
|
||||
SHA256 (libxmlbird-1.0.7.tar.xz) = 2/YbTcUhOTp/wVq8GNpLSMrt33p4SgSJ6XyWQQz7pEc=
|
||||
SIZE (libxmlbird-1.0.7.tar.xz) = 18060
|
||||
|
15
textproc/libxmlbird/patches/patch-install_py
Normal file
15
textproc/libxmlbird/patches/patch-install_py
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-install_py,v 1.1 2015/10/29 08:47:21 jasper Exp $
|
||||
--- install.py.orig Thu Oct 29 09:17:58 2015
|
||||
+++ install.py Thu Oct 29 09:21:36 2015
|
||||
@@ -89,8 +89,9 @@ if not options.libdir:
|
||||
else:
|
||||
libdir = options.libdir
|
||||
|
||||
-
|
||||
-if os.path.isfile ('build/bin/libxmlbird.so.' + version.LIBXMLBIRD_SO_VERSION):
|
||||
+if "openbsd" in sys.platform:
|
||||
+ install ('build/bin/libxmlbird.so.' + '${LIBxmlbird_VERSION}', '/lib', 644)
|
||||
+elif os.path.isfile ('build/bin/libxmlbird.so.' + version.LIBXMLBIRD_SO_VERSION):
|
||||
install ('build/bin/libxmlbird.so.' + version.LIBXMLBIRD_SO_VERSION, libdir, 644)
|
||||
link (libdir, 'libxmlbird.so.' + version.LIBXMLBIRD_SO_VERSION, ' libxmlbird.so.' + version.LIBXMLBIRD_SO_VERSION_MAJOR)
|
||||
link (libdir, 'libxmlbird.so.' + version.LIBXMLBIRD_SO_VERSION, ' libxmlbird.so')
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-scripts_bavala_py,v 1.2 2015/06/30 05:38:59 bcallah Exp $
|
||||
--- scripts/bavala.py.orig Mon Jun 29 17:37:48 2015
|
||||
+++ scripts/bavala.py Tue Jun 30 01:33:05 2015
|
||||
@@ -231,6 +231,8 @@ class Vala(object):
|
||||
create_link = "ln -s -T " + so_file + " " + self.so_link_name + " "
|
||||
elif not "bsd" in sys.platform:
|
||||
create_link = "ln -s -T " + so_file + " " + self.so_link_name + " "
|
||||
+ else:
|
||||
+ create_link = "ln -s " + so_file + " " + self.so_link_name + " "
|
||||
|
||||
create_link += "&& mv " + self.so_link_name + " " + self.build + "/"
|
||||
return {
|
Loading…
Reference in New Issue
Block a user