- Update to upstream version 1.0.6

- Add LICENSE
- Stagify
- Pet portlint

PR:		192811
Submitted by:	tkato432@yahoo.com
Approved by:	mentors (implicit)
This commit is contained in:
Thomas Zander 2014-08-24 07:25:09 +00:00
parent 17622ffefd
commit cb184d5ec9
4 changed files with 99 additions and 9 deletions

View file

@ -2,16 +2,21 @@
# $FreeBSD$
PORTNAME= sxml
PORTVERSION= 1.0.5
PORTVERSION= 1.0.6
CATEGORIES= textproc
MASTER_SITES= http://www.MysticWALL.COM/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Skimpy XML parsing and grafting library for C language
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:bzip2
GNU_CONFIGURE= yes
USES= tar:bzip2
USE_LDCONFIG= yes
NO_STAGE= yes
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsxml*.so.[0-9]*
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (sxml-1.0.5.tar.bz2) = de36369e23e8a594cab54e737a29e7e102376eaad89c75035e772fbdd44c6b42
SIZE (sxml-1.0.5.tar.bz2) = 61771
SHA256 (sxml-1.0.6.tar.bz2) = e26a960bd6c24021dd83c4da4d2a8006ed3b92e0a9ac85b17358e473000260d0
SIZE (sxml-1.0.6.tar.bz2) = 82316

View file

@ -0,0 +1,85 @@
--- Makefile.in.orig
+++ Makefile.in
@@ -30,11 +30,11 @@
EDITOR=@EDITOR@
INSTALL=@INSTALL@
-INSTALL_PROGRAM=@INSTALL_PROGRAM@ -s
+INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
DEFS= @DEFS@
-OPTS= -fforce-mem -fforce-addr -fstrength-reduce -funroll-loops -finline-functions
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
CPPFLAGS= -I@srcdir@
CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
@@ -121,43 +121,43 @@
install:: check-dirs install-libsxml install-libsxmlrpc
install-libsxml::
- -${RM} ${libdir}/${SXML_PLIB}
- ${INSTALL_DATA} ${SXML_PLIB} ${libdir}
- ${RANLIB} -t ${libdir}/${SXML_PLIB}
- -${RM} ${libdir}/${SXML_SLIB}
- -${RM} ${libdir}/${SXML_DLIB}
- -${RM} ${libdir}/${SXML_LIB}
+ -${RM} ${DESTDIR}${libdir}/${SXML_PLIB}
+ ${INSTALL_DATA} ${SXML_PLIB} ${DESTDIR}${libdir}
+ ${RANLIB} -t ${DESTDIR}${libdir}/${SXML_PLIB}
+ -${RM} ${DESTDIR}${libdir}/${SXML_SLIB}
+ -${RM} ${DESTDIR}${libdir}/${SXML_DLIB}
+ -${RM} ${DESTDIR}${libdir}/${SXML_LIB}
if [ -f ${SXML_SLIB} ]; then \
- ${INSTALL} ${SXML_SLIB} ${libdir}; \
- (cd ${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
+ ${INSTALL} ${SXML_SLIB} ${DESTDIR}${libdir}; \
+ (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
fi
if [ -f ${SXML_DYLIB} ]; then \
- ${INSTALL} ${SXML_DYLIB} ${libdir}; \
- (cd ${libdir}; ${LN_S} ${SXML_DYLIB} ${SXML_DLIB}); \
+ ${INSTALL} ${SXML_DYLIB} ${DESTDIR}${libdir}; \
+ (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_DYLIB} ${SXML_DLIB}); \
fi
- ${INSTALL_DATA} ${SXML_HDR} ${includedir}
+ ${INSTALL_DATA} ${SXML_HDR} ${DESTDIR}${includedir}
install-libsxmlrpc::
- -${RM} ${libdir}/${SXMLRPC_PLIB}
- ${INSTALL_DATA} ${SXMLRPC_PLIB} ${libdir}
- ${RANLIB} -t ${libdir}/${SXMLRPC_PLIB}
- -${RM} ${libdir}/${SXMLRPC_SLIB}
- -${RM} ${libdir}/${SXMLRPC_DLIB}
- -${RM} ${libdir}/${SXMLRPC_LIB}
+ -${RM} ${DESTDIR}${libdir}/${SXMLRPC_PLIB}
+ ${INSTALL_DATA} ${SXMLRPC_PLIB} ${DESTDIR}${libdir}
+ ${RANLIB} -t ${DESTDIR}${libdir}/${SXMLRPC_PLIB}
+ -${RM} ${DESTDIR}${libdir}/${SXMLRPC_SLIB}
+ -${RM} ${DESTDIR}${libdir}/${SXMLRPC_DLIB}
+ -${RM} ${DESTDIR}${libdir}/${SXMLRPC_LIB}
if [ -f ${SXMLRPC_SLIB} ]; then \
- ${INSTALL} ${SXMLRPC_SLIB} ${libdir}; \
- (cd ${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
+ ${INSTALL} ${SXMLRPC_SLIB} ${DESTDIR}${libdir}; \
+ (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
fi
if [ -f ${SXMLRPC_DYLIB} ]; then \
- ${INSTALL} ${SXMLRPC_DYLIB} ${libdir}; \
- (cd ${libdir}; ${LN_S} ${SXMLRPC_DYLIB} ${SXMLRPC_DLIB}); \
+ ${INSTALL} ${SXMLRPC_DYLIB} ${DESTDIR}${libdir}; \
+ (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_DYLIB} ${SXMLRPC_DLIB}); \
fi
- ${INSTALL_DATA} ${SXMLRPC_HDR} ${includedir}
+ ${INSTALL_DATA} ${SXMLRPC_HDR} ${DESTDIR}${includedir}
check-dirs::
- @if [ ! -d ${prefix} ]; then ${MKDIR} ${prefix}; fi
- @if [ ! -d ${libdir} ]; then ${MKDIR} ${libdir}; fi
- @if [ ! -d ${includedir} ]; then ${MKDIR} ${includedir}; fi
+ @if [ ! -d ${DESTDIR}${prefix} ]; then ${MKDIR} ${DESTDIR}${prefix}; fi
+ @if [ ! -d ${DESTDIR}${libdir} ]; then ${MKDIR} ${DESTDIR}${libdir}; fi
+ @if [ ! -d ${DESTDIR}${includedir} ]; then ${MKDIR} ${DESTDIR}${includedir}; fi
###############################################################################

View file

@ -1,5 +1,5 @@
SXML is a skimpy XML parsing and grafting C library that you can use to read
and write XML-like configuration file for your application.
SXML is a skimpy XML parsing and grafting C library that you can use
to read and write XML-like configuration file for your application.
Author: Kouichi ABE (WALL) <kouichi@MysticWALL.COM>
WWW: http://www.MysticWALL.COM/software/sxml/index.html
Author: Kouichi ABE (WALL) <kouichi@MysticWALL.COM>
WWW: http://www.MysticWALL.COM/software/sxml/index.html