2014-05-16 19:57:11 +00:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
2013-03-13 21:39:40 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ldraw
|
2019-09-05 03:40:52 +00:00
|
|
|
DISTVERSION= 20190628
|
2013-09-17 17:51:28 +00:00
|
|
|
PORTEPOCH= 1
|
2013-03-13 21:39:40 +00:00
|
|
|
CATEGORIES= cad
|
2019-07-04 17:59:35 +00:00
|
|
|
MASTER_SITES= https://www.ldraw.org/library/updates/:parts \
|
|
|
|
https://www.ldraw.org/library/official/:config
|
|
|
|
DISTFILES= complete.zip:parts LDConfig.ldr:config
|
|
|
|
DIST_SUBDIR= ${DISTNAME}-${DISTVERSION}
|
|
|
|
EXTRACT_ONLY= complete.zip
|
2013-03-13 21:39:40 +00:00
|
|
|
|
2019-07-04 17:27:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2019-07-04 17:59:35 +00:00
|
|
|
COMMENT= LDraw-format CAD files representing many of LEGO bricks produced
|
2013-03-13 21:39:40 +00:00
|
|
|
|
2019-07-04 17:59:35 +00:00
|
|
|
LICENSE= CC-BY-2.0
|
2013-09-17 17:51:28 +00:00
|
|
|
|
2019-07-04 17:59:35 +00:00
|
|
|
USES= zip
|
2013-03-13 21:39:40 +00:00
|
|
|
|
2019-07-04 17:59:35 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
2013-09-17 17:51:28 +00:00
|
|
|
|
2013-03-13 21:39:40 +00:00
|
|
|
do-install:
|
2019-07-04 17:59:35 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/ldraw
|
|
|
|
cd ${WRKDIR}/ldraw && \
|
|
|
|
${COPYTREE_SHARE} p ${STAGEDIR}${PREFIX}/share/ldraw && \
|
|
|
|
${COPYTREE_SHARE} parts ${STAGEDIR}${PREFIX}/share/ldraw
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/LDConfig.ldr ${STAGEDIR}${PREFIX}/share/ldraw
|
|
|
|
|
|
|
|
post-install: # autoplist: ~16k files all under share/ldraw
|
|
|
|
@cd ${STAGEDIR}${PREFIX} && \
|
|
|
|
${FIND} * -type f >> ${TMPPLIST}
|
2013-03-13 21:39:40 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|