1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Fix build, adjust staging

- Change pkg-plist

Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-12-09 17:59:17 +00:00
parent c1f49a4e6b
commit c860ccbdb3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336011
3 changed files with 9 additions and 17 deletions

View File

@ -30,16 +30,12 @@ USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
USE_GL= glut
USE_GNOME= gtk20
MAN1= leocad.1
PORTDOCS= CREDITS.txt README.txt TODO.txt
INSTALLS_ICONS= yes
ICON_SIZES= 16x16 24x24 32x32 48x48 128x128 256x256
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
INSTALLS_ICONS= yes
ICON_SIZES= 16x16 24x24 32x32 48x48 128x128 256x256
post-extract:
@${UNZIP_CMD} -q -o ${_DISTDIR}/${LEOCAD_PIECES} -d ${WRKDIR}/pieces
@ -63,19 +59,18 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/pieces/* ${STAGEDIR}${DATADIR}
.for s in ${ICON_SIZES}
@${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
${INSTALL_DATA} ${WRKSRC}/tools/icon/${PORTNAME}_${s}.png \
${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 \
${INSTALL_DATA} ${WRKSRC}/tools/icon/${PORTNAME}.svg \
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/
@${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/man1/
@${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${INSTALL_MAN} ${WRKSRC}/docs/leocad.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -2,4 +2,4 @@ LeoCAD is a CAD program that can be used to create virtual LEGO models.
It has an easy to use interface and currently features over 4000 different
pieces created by the LDraw community.
WWW: http://www.leocad.org
WWW: http://www.leocad.org/

View File

@ -1,4 +1,5 @@
bin/leocad
man/man1/leocad.1.gz
share/applications/leocad.desktop
share/icons/hicolor/128x128/apps/leocad.png
share/icons/hicolor/16x16/apps/leocad.png
@ -9,9 +10,5 @@ share/icons/hicolor/48x48/apps/leocad.png
share/icons/hicolor/scalable/apps/leocad.svg
share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg
%%DATADIR%%/library.bin
share/mime/application/vnd.leocad.xml
share/mime/packages/leocad.xml
share/pixmaps/leocad.png
@dirrmtry share/mime/application
@dirrmtry share/mime
@dirrm %%DATADIR%%