Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
This is James Clark's expat XML parser library in C. It is a stream oriented
parser that requires setting handlers to deal with the structure that the
parser discovers in the document.
+28
View File
@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.27 2012/10/25 06:55:49 asau Exp $
#
DISTNAME= expat-2.1.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expat/}
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://expat.sourceforge.net/
COMMENT= XML parser library written in C
LICENSE= mit
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS+= gmake
PKGCONFIG_OVERRIDE+= expat.pc.in
DOCDIR= ${PREFIX}/share/doc/html/expat
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/reference.html ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/doc/style.css ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"
+9
View File
@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.9 2012/04/01 08:52:43 obache Exp $
bin/xmlwf
include/expat.h
include/expat_external.h
lib/libexpat.la
lib/pkgconfig/expat.pc
man/man1/xmlwf.1
share/doc/html/expat/reference.html
share/doc/html/expat/style.css
+13
View File
@@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.19 2009/03/20 19:25:28 joerg Exp $
BUILDLINK_TREE+= expat
.if !defined(EXPAT_BUILDLINK3_MK)
EXPAT_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.expat+= expat>=1.95.7
BUILDLINK_ABI_DEPENDS.expat+= expat>=2.0.0nb1
BUILDLINK_PKGSRCDIR.expat?= ../../textproc/expat
.endif # EXPAT_BUILDLINK3_MK
BUILDLINK_TREE+= -expat
+88
View File
@@ -0,0 +1,88 @@
# $NetBSD: builtin.mk,v 1.16 2012/03/19 12:34:20 joerg Exp $
BUILTIN_PKG:= expat
BUILTIN_FIND_FILES_VAR:= H_EXPAT
BUILTIN_FIND_FILES.H_EXPAT= ${X11BASE}/include/expat.h \
/usr/include/expat.h \
/boot/common/include/expat.h
.include "../../mk/buildlink3/bsd.builtin.mk"
###
### Determine if there is a built-in implementation of the package and
### set IS_BUILTIN.<pkg> appropriately ("yes" or "no").
###
.if !defined(IS_BUILTIN.expat)
. if empty(H_EXPAT:M__nonexistent__)
IS_BUILTIN.expat= yes
. else
IS_BUILTIN.expat= no
. endif
.endif
MAKEVARS+= IS_BUILTIN.expat
###
### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
### a package name to represent the built-in package.
###
.if !defined(BUILTIN_PKG.expat) && \
!empty(IS_BUILTIN.expat:M[yY][eE][sS]) && \
empty(H_EXPAT:M__nonexistent__)
BUILTIN_VERSION.expat!= \
${AWK} '/\#define[ ]*XML_MAJOR_VERSION/ { M = $$3 } \
/\#define[ ]*XML_MINOR_VERSION/ { m = "."$$3 } \
/\#define[ ]*XML_MICRO_VERSION/ { u = "."$$3 } \
END { printf "%s%s%s\n", M, m, u }' \
${H_EXPAT}
BUILTIN_PKG.expat= expat-${BUILTIN_VERSION.expat}
.endif
MAKEVARS+= BUILTIN_PKG.expat
###
### Determine whether we should use the built-in implementation if it
### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
###
.if !defined(USE_BUILTIN.expat)
. if ${PREFER.expat} == "pkgsrc"
USE_BUILTIN.expat= no
. else
USE_BUILTIN.expat= ${IS_BUILTIN.expat}
. if defined(BUILTIN_PKG.expat) && \
!empty(IS_BUILTIN.expat:M[yY][eE][sS])
USE_BUILTIN.expat= yes
. for _dep_ in ${BUILDLINK_API_DEPENDS.expat}
. if !empty(USE_BUILTIN.expat:M[yY][eE][sS])
USE_BUILTIN.expat!= \
if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.expat:Q}; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
. endif
. endfor
. endif
. endif # PREFER.expat
.endif
MAKEVARS+= USE_BUILTIN.expat
###
### The section below only applies if we are not including this file
### solely to determine whether a built-in implementation exists.
###
CHECK_BUILTIN.expat?= no
.if !empty(CHECK_BUILTIN.expat:M[nN][oO])
. if !empty(USE_BUILTIN.expat:M[nN][oO])
BUILDLINK_API_DEPENDS.expat+= expat>=1.95.4
. else
. if !empty(H_EXPAT:M${X11BASE}/*)
. include "../../mk/x11.builtin.mk"
. elif !empty(H_EXPAT:M/usr/*)
BUILDLINK_PREFIX.expat= /usr
. elif !empty(H_EXPAT:M/boot/common/*)
BUILDLINK_PREFIX.expat= /boot/common
. endif
. endif
.endif # CHECK_BUILTIN.expat
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.20 2012/04/01 08:52:43 obache Exp $
SHA1 (expat-2.1.0.tar.gz) = b08197d146930a5543a7b99e871cba3da614f6f0
RMD160 (expat-2.1.0.tar.gz) = bffca083d29fe7688f106a902ef9b909c3321c5d
Size (expat-2.1.0.tar.gz) = 562616 bytes