View | Details | Raw Unified | Return to bug 192811 | Differences between
and this patch

Collapse All | Expand All

(-)textproc/sxml/Makefile (-3 / +8 lines)
Lines 2-17 Link Here
2
# $FreeBSD: head/textproc/sxml/Makefile 363399 2014-07-29 21:43:17Z adamw $
2
# $FreeBSD: head/textproc/sxml/Makefile 363399 2014-07-29 21:43:17Z adamw $
3
3
4
PORTNAME=	sxml
4
PORTNAME=	sxml
5
PORTVERSION=	1.0.5
5
PORTVERSION=	1.0.6
6
CATEGORIES=	textproc
6
CATEGORIES=	textproc
7
MASTER_SITES=	http://www.MysticWALL.COM/download/
7
MASTER_SITES=	http://www.MysticWALL.COM/download/
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Skimpy XML parsing and grafting library for C language
10
COMMENT=	Skimpy XML parsing and grafting library for C language
11
11
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
USES=		tar:bzip2
12
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
13
USES=	tar:bzip2
14
USE_LDCONFIG=	yes
17
USE_LDCONFIG=	yes
15
18
16
NO_STAGE=	yes
19
post-install:
20
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsxml*.so.[0-9]*
21
17
.include <bsd.port.mk>
22
.include <bsd.port.mk>
(-)textproc/sxml/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sxml-1.0.5.tar.bz2) = de36369e23e8a594cab54e737a29e7e102376eaad89c75035e772fbdd44c6b42
1
SHA256 (sxml-1.0.6.tar.bz2) = e26a960bd6c24021dd83c4da4d2a8006ed3b92e0a9ac85b17358e473000260d0
2
SIZE (sxml-1.0.5.tar.bz2) = 61771
2
SIZE (sxml-1.0.6.tar.bz2) = 82316
(-)textproc/sxml/files/patch-Makefile.in (+85 lines)
Line 0 Link Here
1
--- Makefile.in.orig
2
+++ Makefile.in
3
@@ -30,11 +30,11 @@
4
 EDITOR=@EDITOR@
5
 
6
 INSTALL=@INSTALL@
7
-INSTALL_PROGRAM=@INSTALL_PROGRAM@ -s
8
+INSTALL_PROGRAM=@INSTALL_PROGRAM@
9
 INSTALL_DATA=@INSTALL_DATA@
10
 
11
 DEFS= @DEFS@
12
-OPTS= -fforce-mem -fforce-addr -fstrength-reduce -funroll-loops -finline-functions
13
+OPTS= -fstrength-reduce -funroll-loops -finline-functions
14
 CPPFLAGS= -I@srcdir@
15
 CFLAGS= ${DEFS} ${CPPFLAGS} ${OPTS} @CFLAGS@
16
 
17
@@ -121,43 +121,43 @@
18
 install:: check-dirs install-libsxml install-libsxmlrpc
19
 
20
 install-libsxml::
21
-	-${RM} ${libdir}/${SXML_PLIB}
22
-	${INSTALL_DATA} ${SXML_PLIB} ${libdir}
23
-	${RANLIB} -t ${libdir}/${SXML_PLIB}
24
-	-${RM} ${libdir}/${SXML_SLIB}
25
-	-${RM} ${libdir}/${SXML_DLIB}
26
-	-${RM} ${libdir}/${SXML_LIB}
27
+	-${RM} ${DESTDIR}${libdir}/${SXML_PLIB}
28
+	${INSTALL_DATA} ${SXML_PLIB} ${DESTDIR}${libdir}
29
+	${RANLIB} -t ${DESTDIR}${libdir}/${SXML_PLIB}
30
+	-${RM} ${DESTDIR}${libdir}/${SXML_SLIB}
31
+	-${RM} ${DESTDIR}${libdir}/${SXML_DLIB}
32
+	-${RM} ${DESTDIR}${libdir}/${SXML_LIB}
33
 	if [ -f ${SXML_SLIB} ]; then \
34
-	  ${INSTALL} ${SXML_SLIB} ${libdir}; \
35
-	  (cd ${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
36
+	  ${INSTALL} ${SXML_SLIB} ${DESTDIR}${libdir}; \
37
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_SLIB} ${SXML_LIB}); \
38
 	fi
39
 	if [ -f ${SXML_DYLIB} ]; then \
40
-	  ${INSTALL} ${SXML_DYLIB} ${libdir}; \
41
-	  (cd ${libdir}; ${LN_S} ${SXML_DYLIB} ${SXML_DLIB}); \
42
+	  ${INSTALL} ${SXML_DYLIB} ${DESTDIR}${libdir}; \
43
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXML_DYLIB} ${SXML_DLIB}); \
44
 	fi
45
-	${INSTALL_DATA} ${SXML_HDR} ${includedir}
46
+	${INSTALL_DATA} ${SXML_HDR} ${DESTDIR}${includedir}
47
 
48
 install-libsxmlrpc::
49
-	-${RM} ${libdir}/${SXMLRPC_PLIB}
50
-	${INSTALL_DATA} ${SXMLRPC_PLIB} ${libdir}
51
-	${RANLIB} -t ${libdir}/${SXMLRPC_PLIB}
52
-	-${RM} ${libdir}/${SXMLRPC_SLIB}
53
-	-${RM} ${libdir}/${SXMLRPC_DLIB}
54
-	-${RM} ${libdir}/${SXMLRPC_LIB}
55
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_PLIB}
56
+	${INSTALL_DATA} ${SXMLRPC_PLIB} ${DESTDIR}${libdir}
57
+	${RANLIB} -t ${DESTDIR}${libdir}/${SXMLRPC_PLIB}
58
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_SLIB}
59
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_DLIB}
60
+	-${RM} ${DESTDIR}${libdir}/${SXMLRPC_LIB}
61
 	if [ -f ${SXMLRPC_SLIB} ]; then \
62
-	  ${INSTALL} ${SXMLRPC_SLIB} ${libdir}; \
63
-	  (cd ${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
64
+	  ${INSTALL} ${SXMLRPC_SLIB} ${DESTDIR}${libdir}; \
65
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_SLIB} ${SXMLRPC_LIB}); \
66
 	fi
67
 	if [ -f ${SXMLRPC_DYLIB} ]; then \
68
-	  ${INSTALL} ${SXMLRPC_DYLIB} ${libdir}; \
69
-	  (cd ${libdir}; ${LN_S} ${SXMLRPC_DYLIB} ${SXMLRPC_DLIB}); \
70
+	  ${INSTALL} ${SXMLRPC_DYLIB} ${DESTDIR}${libdir}; \
71
+	  (cd ${DESTDIR}${libdir}; ${LN_S} ${SXMLRPC_DYLIB} ${SXMLRPC_DLIB}); \
72
 	fi
73
-	${INSTALL_DATA} ${SXMLRPC_HDR} ${includedir}
74
+	${INSTALL_DATA} ${SXMLRPC_HDR} ${DESTDIR}${includedir}
75
 
76
 check-dirs::
77
-	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${prefix};     fi
78
-	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${libdir};     fi
79
-	@if [ ! -d ${includedir} ]; then ${MKDIR} ${includedir}; fi
80
+	@if [ ! -d ${prefix}     ]; then ${MKDIR} ${DESTDIR}${prefix};     fi
81
+	@if [ ! -d ${libdir}     ]; then ${MKDIR} ${DESTDIR}${libdir};     fi
82
+	@if [ ! -d ${includedir} ]; then ${MKDIR} ${DESTDIR}${includedir}; fi
83
 
84
 ###############################################################################
85
 
(-)textproc/sxml/pkg-descr (-4 / +4 lines)
Lines 1-5 Link Here
1
SXML is a skimpy XML parsing and grafting C library that you can use to read
1
SXML is a skimpy XML parsing and grafting C library that you can use
2
and write XML-like configuration file for your application.
2
to read and write XML-like configuration file for your application.
3
3
4
Author:	Kouichi ABE (WALL) <kouichi@MysticWALL.COM>
4
Author: Kouichi ABE (WALL) <kouichi@MysticWALL.COM>
5
WWW:	http://www.MysticWALL.COM/software/sxml/index.html
5
WWW: http://www.MysticWALL.COM/software/sxml/index.html

Return to bug 192811