aboutsummaryrefslogtreecommitdiff
path: root/cad/leocad
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-05-16 19:57:11 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-05-16 19:57:11 +0000
commit2656904255f82ec6738b3e0b8d5362f5fe8aa3fe (patch)
treef465ee77a85d2b8a265323b6832a8786aa6f1741 /cad/leocad
parentb4b98d1d8f26b891b76319e63770ea24322e96cb (diff)
downloadports-2656904255f82ec6738b3e0b8d5362f5fe8aa3fe.tar.gz
ports-2656904255f82ec6738b3e0b8d5362f5fe8aa3fe.zip
These ports are no longer used or cared for.
Dave Shar <koalative at gmail.com> wishes to maintain these ports with my help. audio/liblo - Pass maintainership to koalative at gmail.com cad/brickutils - Bump PORTREVISION for adding PDF - Add DIST_SUBDIR because more files - Pass maintainership to koalative at gmail.com - Add PDF to DOCS cad/ldraw - Change Makefile header, use my name and @FreeBSD.org email - Pass maintainership to koalative at gmail.com - Break lines around 80 characters - Cosmetical changes cad/leocad - Update to 0.80.3, Announce message: Fixed mouse coordinates in OSX retina displays. Fixed shortcuts in the parts tree. - Pass maintainership to koalative at gmail.com - Remove TODO.txt from DOCS - Add more supplied icons textproc/unoconv - Pass maintainership to koalative at gmail.com
Notes
Notes: svn path=/head/; revision=354257
Diffstat (limited to 'cad/leocad')
-rw-r--r--cad/leocad/Makefile25
-rw-r--r--cad/leocad/distinfo4
-rw-r--r--cad/leocad/pkg-plist12
3 files changed, 25 insertions, 16 deletions
diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile
index ced259142307..000533bd90c2 100644
--- a/cad/leocad/Makefile
+++ b/cad/leocad/Makefile
@@ -2,15 +2,14 @@
# $FreeBSD$
PORTNAME= leocad
-PORTVERSION= 0.80.2
-PORTREVISION= 1
+PORTVERSION= 0.80.3
CATEGORIES= cad
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/${PORTNAME}/
-DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz
+DISTFILES= LeoCAD-Source-${PORTVERSION}.tgz
DIST_SUBDIR= ${PORTNAME}
-EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}-src.tgz
+EXTRACT_ONLY= LeoCAD-Source-${PORTVERSION}.tgz
-MAINTAINER= nemysis@FreeBSD.org
+MAINTAINER= koalative@gmail.com
COMMENT= CAD program that uses bricks similar to those found in many toys
LICENSE= GPLv2
@@ -26,8 +25,7 @@ USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
USE_GL= glut
USE_GNOME= gtk20
-PORTDOCS= CREDITS.txt README.txt TODO.txt
-
+PORTDOCS= CREDITS.txt README.txt
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= LIBRARY
@@ -38,7 +36,7 @@ LDRAW_DESC= Library from LDraw symlink, mostly fewer pieces
LEOCAD_DESC= Library from LeoCad file, mostly more pieces
INSTALLS_ICONS= yes
-ICON_SIZES= 16x16 24x24 32x32 48x48 128x128 256x256
+ICON_SIZES= 16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512
.include <bsd.port.options.mk>
@@ -60,12 +58,11 @@ post-patch:
s|docs.files = docs/README.txt docs/CREDITS.txt docs/COPYING.txt|docs.files = |' \
${WRKSRC}/${PORTNAME}.pro
-.for s in 16 24 32 48 128 256
+.for s in 16 24 32 48 64 128 256 512
@cd ${WRKSRC}/tools/icon && \
- ${MV} icon${s}.png ${PORTNAME}_${s}x${s}.png
+ ${MV} ${PORTNAME}-${s}.png ${PORTNAME}_${s}x${s}.png
.endfor
@cd ${WRKSRC}/tools/icon && ${CP} -a ${PORTNAME}_128x128.png icon128.png
- @cd ${WRKSRC}/tools/icon && ${MV} icon.svg ${PORTNAME}.svg
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
@@ -83,8 +80,10 @@ post-install:
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
- ${INSTALL_DATA} ${WRKSRC}/tools/icon/${PORTNAME}.svg \
- ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/
+.for i in document*.png icon*.png
+ @cd ${WRKSRC}/tools/icon && ${INSTALL_DATA} ${i} \
+ ${STAGEDIR}${DATADIR}
+.endfor
@${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/docs/leocad.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
diff --git a/cad/leocad/distinfo b/cad/leocad/distinfo
index c78aaadea144..755835a8f6aa 100644
--- a/cad/leocad/distinfo
+++ b/cad/leocad/distinfo
@@ -1,4 +1,4 @@
-SHA256 (leocad/leocad-0.80.2-src.tgz) = 8f4bdea7f1259da62fb158e19e8f869fccb99fa33073a4db29190bee1ee16f30
-SIZE (leocad/leocad-0.80.2-src.tgz) = 965872
+SHA256 (leocad/LeoCAD-Source-0.80.3.tgz) = 32591681fdce46ebdcee3d725613adf37ec4cdbc4a3ebc5e60358efefcf12468
+SIZE (leocad/LeoCAD-Source-0.80.3.tgz) = 1833287
SHA256 (leocad/Library-Linux-7931.zip) = 3afa911f0c8064392a54937fdff305066cd8e910d66b1dafd7dbb5758c4b7456
SIZE (leocad/Library-Linux-7931.zip) = 24226538
diff --git a/cad/leocad/pkg-plist b/cad/leocad/pkg-plist
index 1c355b79aea0..65c1db3330a9 100644
--- a/cad/leocad/pkg-plist
+++ b/cad/leocad/pkg-plist
@@ -7,8 +7,18 @@ share/icons/hicolor/24x24/apps/leocad.png
share/icons/hicolor/256x256/apps/leocad.png
share/icons/hicolor/32x32/apps/leocad.png
share/icons/hicolor/48x48/apps/leocad.png
-share/icons/hicolor/scalable/apps/leocad.svg
+share/icons/hicolor/512x512/apps/leocad.png
+share/icons/hicolor/64x64/apps/leocad.png
share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg
+%%DATADIR%%/document-128.png
+%%DATADIR%%/document-16.png
+%%DATADIR%%/document-256.png
+%%DATADIR%%/document-32.png
+%%DATADIR%%/document-512.png
+%%DATADIR%%/document-64.png
+%%DATADIR%%/icon128.png
%%DATADIR%%/library.bin
share/pixmaps/leocad.png
+@dirrmtry share/icons/hicolor/512x512/apps
+@dirrmtry share/icons/hicolor/512x512
@dirrm %%DATADIR%%