Upgrade to 0.8.2.
Reported by: portscout
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= libboard
|
||||
PORTVERSION= 0.8.0
|
||||
PORTVERSION= 0.8.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.greyc.ensicaen.fr/~seb/board/download/
|
||||
|
||||
@@ -37,6 +37,12 @@ post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${DOCSDIR}/
|
||||
${RM} -rf ${DOCSDIR}/.svn
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
|
||||
${RM} -rf ${EXAMPLESDIR}/.svn
|
||||
.endif
|
||||
|
||||
regression-test:
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
MD5 (libboard-0.8.0.tar.gz) = 6e60f5915dd5e3bc989103f82ee1f6d3
|
||||
SHA256 (libboard-0.8.0.tar.gz) = c8b4d5036a08c1ec835c910e25c41051aadd6fd596d8e5be34dfaa938f3beeeb
|
||||
SIZE (libboard-0.8.0.tar.gz) = 130724
|
||||
MD5 (libboard-0.8.2.tar.gz) = 2360017013695c27759221d9537279a6
|
||||
SHA256 (libboard-0.8.2.tar.gz) = 7762775653f7ec2963b639faf9e894bb9f3b969173d2261291841015b8f1fe92
|
||||
SIZE (libboard-0.8.2.tar.gz) = 202025
|
||||
|
||||
52
graphics/libboard/files/patch-configure
Normal file
52
graphics/libboard/files/patch-configure
Normal file
@@ -0,0 +1,52 @@
|
||||
--- configure.orig 2007-12-17 11:15:52.000000000 +0100
|
||||
+++ configure 2008-11-19 19:05:16.000000000 +0100
|
||||
@@ -60,7 +60,7 @@
|
||||
##
|
||||
## Are we on a powerpc (Mac ?)
|
||||
##
|
||||
-if [ `arch` = "ppc" ]; then
|
||||
+if [ `uname -m` = "ppc" ]; then
|
||||
LDFLAGSLIB=-dynamiclib
|
||||
DYNLIB_EXTENSION=dynlib
|
||||
fi
|
||||
@@ -68,23 +68,23 @@
|
||||
##
|
||||
## Are we on a 64 bits arch
|
||||
##
|
||||
-${ECHO} -n "Checking for 64 bits architecture..."
|
||||
-cat > is64.c <<EOF
|
||||
-int main() {
|
||||
- unsigned long n = 0;
|
||||
- n = ~n;
|
||||
- return n == 0xFFFFFFFF;
|
||||
-}
|
||||
-EOF
|
||||
-gcc -o is64 is64.c
|
||||
-if is64; then
|
||||
-CXX64FLAGS="-fPIC"
|
||||
-echo yes
|
||||
-else
|
||||
-CXX64FLAGS=""
|
||||
-echo no
|
||||
-fi
|
||||
-rm -f is64 is64.c
|
||||
+#${ECHO} -n "Checking for 64 bits architecture..."
|
||||
+#cat > is64.c <<EOF
|
||||
+#int main() {
|
||||
+# unsigned long n = 0;
|
||||
+# n = ~n;
|
||||
+# return n == 0xFFFFFFFF;
|
||||
+#}
|
||||
+#EOF
|
||||
+#gcc -o is64 is64.c
|
||||
+#if is64; then
|
||||
+#CXX64FLAGS="-fPIC"
|
||||
+#echo yes
|
||||
+#else
|
||||
+#CXX64FLAGS=""
|
||||
+#echo no
|
||||
+#fi
|
||||
+#rm -f is64 is64.c
|
||||
|
||||
|
||||
cat > Makefile <<EOF
|
||||
@@ -3,9 +3,18 @@ include/board/Board.h
|
||||
include/board/Color.h
|
||||
include/board/Point.h
|
||||
include/board/Rect.h
|
||||
include/board/ShapeList.h
|
||||
include/board/Shapes.h
|
||||
include/board/Transforms.h
|
||||
lib/libboard.a
|
||||
lib/libboard.so
|
||||
lib/libboard.so.0
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arithmetic.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ellipse.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example2.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3.cpp
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example4.cpp
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm include/board
|
||||
|
||||
Reference in New Issue
Block a user