View | Details | Raw Unified | Return to bug 185318
Collapse All | Expand All

(-)graphics/ipe/Makefile (-10 / +7 lines)
Lines 24-35 Link Here
24
USE_QT4=	gui moc_build qmake_build rcc_build uic_build
24
USE_QT4=	gui moc_build qmake_build rcc_build uic_build
25
USE_TEX=	latex
25
USE_TEX=	latex
26
MAKE_ENV=	DLL_CFLAGS="-fPIC" \
26
MAKE_ENV=	DLL_CFLAGS="-fPIC" \
27
		ICONV_CFLAGS="-I${LOCALBASE}/include" \
27
		ICONV_CFLAGS="-I${ICONV_PREFIX}/include" \
28
		ICONV_LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}" \
28
		ICONV_LIBS="-L${ICONV_PREFIX}/lib ${ICONV_LIB}" \
29
		INSTALL_DIR="${MKDIR}" \
29
		INSTALL_DIR="${MKDIR}" \
30
		INSTALL_FILES="${INSTALL_DATA}" \
30
		INSTALL_FILES="${INSTALL_DATA}" \
31
		INSTALL_SCRIPTS="${INSTALL_SCRIPT}" \
31
		INSTALL_SCRIPTS="${INSTALL_SCRIPT}" \
32
		INSTALL_PROGRAMS="${INSTALL_PROGRAM}" \
32
		INSTALL_PROGRAMS="${INSTALL_PROGRAM}" \
33
		INSTALL_ROOT="${STAGEDIR}" \
33
		IPE_USE_ICONV="-DIPE_USE_ICONV" \
34
		IPE_USE_ICONV="-DIPE_USE_ICONV" \
34
		IPEDOCDIR="${DOCSDIR}" \
35
		IPEDOCDIR="${DOCSDIR}" \
35
		IPEMANDIR="${MANPREFIX}/man/man1" \
36
		IPEMANDIR="${MANPREFIX}/man/man1" \
Lines 41-54 Link Here
41
42
42
PLIST_SUB=	VERSION="${PORTVERSION}"
43
PLIST_SUB=	VERSION="${PORTVERSION}"
43
44
44
MAN1=		ipe.1 ipe6upgrade.1 ipeextract.1 iperender.1 ipetoipe.1 \
45
		ipescript.1
46
PORTDOCS=	*
45
PORTDOCS=	*
47
46
48
DESKTOP_ENTRIES="Ipe" "" "${DATADIR}/${PORTVERSION}/ipe.png" \
47
DESKTOP_ENTRIES="Ipe" "" "${DATADIR}/${PORTVERSION}/ipe.png" \
49
		"${PORTNAME}" "" true
48
		"${PORTNAME}" "" true
50
49
51
NO_STAGE=	yes
52
.include <bsd.port.options.mk>
50
.include <bsd.port.options.mk>
53
51
54
post-patch:
52
post-patch:
Lines 68-77 Link Here
68
66
69
post-install:
67
post-install:
70
	(cd ${WRKSRC}/../fontmaps && ${INSTALL_DATA} fontmap.xml \
68
	(cd ${WRKSRC}/../fontmaps && ${INSTALL_DATA} fontmap.xml \
71
		${DATADIR}/${PORTVERSION})
69
		${STAGEDIR}${DATADIR}/${PORTVERSION})
72
.if ${PORT_OPTIONS:MDOCS}
70
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
73
	@${MKDIR} ${DOCSDIR}
71
	@(cd ${WRKSRC}/../build/doc && ${COPYTREE_SHARE} . \
74
	@(cd ${WRKSRC}/../build/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
72
		${STAGEDIR}${DOCSDIR})
75
.endif
76
73
77
.include <bsd.port.mk>
74
.include <bsd.port.mk>
(-)graphics/ipe/files/patch-include__ipedoc.h (+10 lines)
Line 0 Link Here
1
--- include/ipedoc.h.orig
2
+++ include/ipedoc.h
3
@@ -37,6 +37,7 @@
4
 #include "ipeimage.h"
5
 #include "ipestyle.h"
6
 #include "ipefontpool.h"
7
+#include <sys/types.h>
8
 
9
 // --------------------------------------------------------------------
10
 
(-)graphics/ipe/files/patch-include__ipereference.h (+10 lines)
Line 0 Link Here
1
--- include/ipereference.h.orig
2
+++ include/ipereference.h
3
@@ -33,6 +33,7 @@
4
 #define IPEREF_H
5
 
6
 #include "ipeobject.h"
7
+#include <sys/types.h>
8
 
9
 // --------------------------------------------------------------------
10
 
(-)graphics/ipe/files/patch-ipe6upgrade__ipe6upgrade.cpp (+11 lines)
Line 0 Link Here
1
--- ipe6upgrade/ipe6upgrade.cpp.orig
2
+++ ipe6upgrade/ipe6upgrade.cpp
3
@@ -30,6 +30,8 @@
4
 
5
 #include "ipexml.h"
6
 #include "ipeattributes.h"
7
+#include <cstdlib>
8
+#include <sys/types.h>
9
 
10
 using namespace ipe;
11
 
(-)graphics/ipe/files/patch-ipecairo__ipecairopainter.cpp (+10 lines)
Line 0 Link Here
1
--- ipecairo/ipecairopainter.cpp.orig
2
+++ ipecairo/ipecairopainter.cpp
3
@@ -32,6 +32,7 @@
4
 #include "ipepdfparser.h"
5
 #include "ipecairopainter.h"
6
 #include "ipefonts.h"
7
+#include <sys/types.h>
8
 
9
 using namespace ipe;
10
 
(-)graphics/ipe/files/patch-ipecairo__ipestdfonts.cpp (+10 lines)
Line 0 Link Here
1
--- ipecairo/ipestdfonts.cpp.orig
2
+++ ipecairo/ipestdfonts.cpp
3
@@ -30,6 +30,7 @@
4
 */
5
 
6
 #include "ipebase.h"
7
+#include <sys/types.h>
8
 
9
 using namespace ipe;
10
 
(-)graphics/ipe/files/patch-ipeextract__ipeextract.cpp (+10 lines)
Line 0 Link Here
1
--- ipeextract/ipeextract.cpp.orig
2
+++ ipeextract/ipeextract.cpp
3
@@ -31,6 +31,7 @@
4
 #include "ipexml.h"
5
 #include "ipeutils.h"
6
 #include "ipepdfparser.h"
7
+#include <cstdlib>
8
 
9
 using namespace ipe;
10
 
(-)graphics/ipe/files/patch-ipelib__ipebase.cpp (+12 lines)
Line 0 Link Here
1
--- ipelib/ipebase.cpp.orig
2
+++ ipelib/ipebase.cpp
3
@@ -29,7 +29,9 @@
4
 */
5
 
6
 #include "ipebase.h"
7
+#include <cstdlib>
8
 #include <cmath>
9
+#include <sys/types.h>
10
 
11
 using namespace ipe;
12
 
(-)graphics/ipe/files/patch-ipelib__ipedct.cpp (+10 lines)
Line 0 Link Here
1
--- ipelib/ipedct.cpp.orig
2
+++ ipelib/ipedct.cpp
3
@@ -31,6 +31,7 @@
4
 */
5
 
6
 #include "ipebase.h"
7
+#include <sys/types.h>
8
 
9
 using namespace ipe;
10
 
(-)graphics/ipe/files/patch-ipelib__ipegeo.cpp (+11 lines)
Line 0 Link Here
1
--- ipelib/ipegeo.cpp.orig
2
+++ ipelib/ipegeo.cpp
3
@@ -38,6 +38,8 @@
4
 */
5
 
6
 #include "ipegeo.h"
7
+#include <cstdlib>
8
+#include <sys/types.h>
9
 
10
 using namespace ipe;
11
 
(-)graphics/ipe/files/patch-ipelib__ipelatex.cpp (+11 lines)
Line 0 Link Here
1
--- ipelib/ipelatex.cpp.orig
2
+++ ipelib/ipelatex.cpp
3
@@ -35,6 +35,8 @@
4
 #include "ipefontpool.h"
5
 #include "ipelatex.h"
6
 
7
+#include <cstdlib>
8
+
9
 using namespace ipe;
10
 
11
 /*! \class ipe::Latex
(-)graphics/ipe/files/patch-ipelib__ipepdfparser.cpp (+10 lines)
Line 0 Link Here
1
--- ipelib/ipepdfparser.cpp.orig
2
+++ ipelib/ipepdfparser.cpp
3
@@ -30,6 +30,7 @@
4
 
5
 #include "ipepdfparser.h"
6
 #include "ipeutils.h"
7
+#include <cstdlib>
8
 
9
 using namespace ipe;
10
 
(-)graphics/ipe/files/patch-ipelib__ipeshape.cpp (+10 lines)
Line 0 Link Here
1
--- ipelib/ipeshape.cpp.orig
2
+++ ipelib/ipeshape.cpp
3
@@ -30,6 +30,7 @@
4
 
5
 #include "ipeshape.h"
6
 #include "ipepainter.h"
7
+#include <sys/types.h>
8
 
9
 using namespace ipe;
10
 
(-)graphics/ipe/files/patch-ipetoipe__ipetoipe.cpp (+10 lines)
Line 0 Link Here
1
--- ipetoipe/ipetoipe.cpp.orig
2
+++ ipetoipe/ipetoipe.cpp
3
@@ -29,6 +29,7 @@
4
 */
5
 
6
 #include "ipedoc.h"
7
+#include <cstdlib>
8
 
9
 using ipe::Document;
10
 using ipe::String;
(-)graphics/ipe/pkg-plist (+6 lines)
Lines 56-61 Link Here
56
lib/libipelua.so.%%VERSION%%
56
lib/libipelua.so.%%VERSION%%
57
lib/libipeui.so
57
lib/libipeui.so
58
lib/libipeui.so.%%VERSION%%
58
lib/libipeui.so.%%VERSION%%
59
man/man1/ipe.1.gz
60
man/man1/ipe6upgrade.1.gz
61
man/man1/ipeextract.1.gz
62
man/man1/iperender.1.gz
63
man/man1/ipescript.1.gz
64
man/man1/ipetoipe.1.gz
59
%%DATADIR%%/%%VERSION%%/fontmap.xml
65
%%DATADIR%%/%%VERSION%%/fontmap.xml
60
%%DATADIR%%/%%VERSION%%/icons/copy.png
66
%%DATADIR%%/%%VERSION%%/icons/copy.png
61
%%DATADIR%%/%%VERSION%%/icons/cut.png
67
%%DATADIR%%/%%VERSION%%/icons/cut.png

Return to bug 185318