diff options
Diffstat (limited to 'cad/ldraw/Makefile')
-rw-r--r-- | cad/ldraw/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cad/ldraw/Makefile b/cad/ldraw/Makefile new file mode 100644 index 000000000000..4d7873ba58c0 --- /dev/null +++ b/cad/ldraw/Makefile @@ -0,0 +1,29 @@ +# Created by: nemysis@gmx.ch +# $FreeBSD$ + +PORTNAME= ldraw +PORTVERSION= 20120913 +CATEGORIES= cad +MASTER_SITES= http://www.ldraw.org/library/updates/ +DISTNAME= complete +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= nemysis@gmx.ch +COMMENT= LDraw parts library + +LICENSE= CDDL + +USE_ZIP= yes +NO_BUILD= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} + +do-install: + @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR}) + +post-install: + @${FIND} ${DATADIR}/ ! -type d | ${SED} 's|^${PREFIX}/||' >> ${TMPPLIST} + @${FIND} -ds ${DATADIR}/ -type d | \ + ${SED} -E -e 's,(.*),@unexec ${RMDIR} "\1" 2>/dev/null || true,' >> ${TMPPLIST} + +.include <bsd.port.mk> |