mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
35 lines
950 B
Makefile
35 lines
950 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
|
|
PORTNAME= ldraw
|
|
DISTVERSION= 20190628
|
|
PORTEPOCH= 1
|
|
CATEGORIES= cad
|
|
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
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= LDraw-format CAD files representing many of LEGO bricks produced
|
|
|
|
LICENSE= CC-BY-2.0
|
|
|
|
USES= zip
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
do-install:
|
|
@${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}
|
|
|
|
.include <bsd.port.mk>
|