mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
upgrade to qcad-2.0.4.0-1
This commit is contained in:
parent
fb4e9df2cd
commit
f45e4648af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118966
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= qcad
|
||||
PORTVERSION= 2.0.3.3.1
|
||||
PORTVERSION= 2.0.4.0.1
|
||||
PORTREVISION= 1
|
||||
|
||||
CATEGORIES= cad
|
||||
@ -47,8 +47,6 @@ do-build:
|
||||
|
||||
pre-install:
|
||||
@${ECHO_CMD} bin/qcad > ${PLIST}
|
||||
@${FIND} ${WRKSRC}/qcad/doc/ -type f | \
|
||||
${SED} -e "s:^${WRKSRC}/:%%PORTDOCS%%share/:g" >> ${PLIST}
|
||||
@${FIND} ${WRKSRC}/qcad/examples/ -type f | \
|
||||
${SED} -e "s:^${WRKSRC}/:%%PORTDOCS%%share/:g" >> ${PLIST}
|
||||
@${FIND} ${WRKSRC}/qcad/fonts/ -type f | \
|
||||
@ -57,27 +55,21 @@ pre-install:
|
||||
${SED} -e "s:^${WRKSRC}/:share/:g" >> ${PLIST}
|
||||
@${FIND} ${WRKSRC}/qcad/qm/ -type f | \
|
||||
${SED} -e "s:^${WRKSRC}/:share/:g" >> ${PLIST}
|
||||
@${FIND} ${WRKSRC}/qcad/scripts/ -type f | \
|
||||
${SED} -e "s:^${WRKSRC}/:share/:g" >> ${PLIST}
|
||||
@${FIND} -d ${WRKSRC}/qcad/doc -type d | \
|
||||
${SED} -e "s:^${WRKSRC}/:%%PORTDOCS%%@dirrm share/:g" >> ${PLIST}
|
||||
@${ECHO_CMD} '%%PORTDOCS%%@dirrm share/qcad/examples' >> ${PLIST}
|
||||
@${ECHO_CMD} '@dirrm share/qcad/fonts' >> ${PLIST}
|
||||
@${ECHO_CMD} '@dirrm share/qcad/patterns' >> ${PLIST}
|
||||
@${ECHO_CMD} '@dirrm share/qcad/qm' >> ${PLIST}
|
||||
@${ECHO_CMD} '@dirrm share/qcad/scripts/python' >> ${PLIST}
|
||||
@${ECHO_CMD} '@dirrm share/qcad/scripts' >> ${PLIST}
|
||||
@${ECHO_CMD} '@dirrm share/qcad' >> ${PLIST}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/qcad/qcad ${PREFIX}/bin/qcad
|
||||
@${MKDIR} ${DATADIR}
|
||||
.for dir in fonts patterns qm scripts
|
||||
.for dir in fonts patterns qm
|
||||
${TAR} -C ${WRKSRC}/qcad --exclude CVS -cf - ${dir} | \
|
||||
${TAR} -C ${DATADIR} --unlink -xf -
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
.for dir in doc examples
|
||||
.for dir in examples
|
||||
${TAR} -C ${WRKSRC}/qcad --exclude CVS -cf - ${dir} | \
|
||||
${TAR} -C ${DATADIR} --unlink -xf -
|
||||
.endfor
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (qcad-2.0.3.3-1.src.tar.gz) = 31a809a339813d8b2e4ead7a2ca8f81c
|
||||
SIZE (qcad-2.0.3.3-1.src.tar.gz) = 4877504
|
||||
MD5 (qcad-2.0.4.0-1.src.tar.gz) = d99ae2855029af21f544e302a60d6840
|
||||
SIZE (qcad-2.0.4.0-1.src.tar.gz) = 3169984
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- qcadlib/src/engine/rs_graphic.cpp.orig Thu Sep 9 07:31:40 2004
|
||||
+++ qcadlib/src/engine/rs_graphic.cpp Thu Sep 9 07:32:03 2004
|
||||
@@ -518,7 +518,7 @@
|
||||
if (fabs(s.x)>1.0e-6) {
|
||||
fx = ps.x / s.x;
|
||||
}
|
||||
- if (fabs(s.y>1.0e-6)) {
|
||||
+ if (fabs(s.y)>1.0e-6) {
|
||||
fy = ps.y / s.y;
|
||||
}
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- qcadlib/src/math/rs_math.h.orig Sat Aug 21 20:00:56 2004
|
||||
+++ qcadlib/src/math/rs_math.h Sat Aug 21 20:07:09 2004
|
||||
@@ -45,8 +45,9 @@
|
||||
#include "rs_vector.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
-#define min(x,y) (x<y ? x : y)
|
||||
-#define max(x,y) (x>y ? x : y)
|
||||
+//#define min(x,y) (x<y ? x : y)
|
||||
+//#define max(x,y) (x>y ? x : y)
|
||||
+using namespace std;
|
||||
#endif
|
||||
|
||||
#define ARAD 57.29577951308232
|
Loading…
Reference in New Issue
Block a user