Date: Tue, 17 Sep 2013 17:51:28 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327496 - in head/cad/ldraw: . files Message-ID: <201309171751.r8HHpS3E089407@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Tue Sep 17 17:51:28 2013 New Revision: 327496 URL: http://svnweb.freebsd.org/changeset/ports/327496 Log: - Update to 201301 - Add PORTEPOCH - Change maintainer email gmx.ch --> FreeBSD.org - Add license (CCbyNCSA2) - Remove BROKEN and NO_BUILD - USES gmake - Add docs and docs Option - Add pkg-message Approved by: wg/pawel (mentors) Added: head/cad/ldraw/files/ head/cad/ldraw/files/pkg-message.in (contents, props changed) Modified: head/cad/ldraw/Makefile (contents, props changed) head/cad/ldraw/distinfo (contents, props changed) Modified: head/cad/ldraw/Makefile ============================================================================== --- head/cad/ldraw/Makefile Tue Sep 17 17:39:21 2013 (r327495) +++ head/cad/ldraw/Makefile Tue Sep 17 17:51:28 2013 (r327496) @@ -1,30 +1,68 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis <nemysis@gmx.ch> # $FreeBSD$ PORTNAME= ldraw -PORTVERSION= 20120913 +PORTVERSION= 201301 +PORTEPOCH= 1 CATEGORIES= cad MASTER_SITES= http://www.ldraw.org/library/updates/ DISTNAME= complete DIST_SUBDIR= ${PORTNAME} -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= LDraw parts library -LICENSE= CDDL +LICENSE= CDDL CCbyNCSA2 +LICENSE_COMB= dual +LICENSE_NAME_CCbyNCSA2=Attribution-NonCommercial-ShareAlike 2.0 Unported +LICENSE_FILE_CCbyNCSA2=${WRKSRC}/CAlicense.txt +LICENSE_PERMS_CCbyNCSA2=dist-mirror pkg-mirror auto-accept + +WRKSRC= ${WRKDIR}/${PORTNAME} -BROKEN= Unfetchable due to checksum mismatch USE_ZIP= yes -NO_BUILD= yes +USES= gmake -WRKSRC= ${WRKDIR}/${PORTNAME} +PORTDOCS= Readme.txt + +OPTIONS_DEFINE= DOCS + +SUB_FILES= pkg-message + +.include <bsd.port.options.mk> + +post-extract-script: + @(cd ${WRKSRC} && ${UNZIP_CMD} -qo -d ${WRKSRC}/mklist1_4 ${WRKSRC}/mklist1_4.zip) + +post-patch: + @${REINPLACE_CMD} -e 's|CC=gcc|CC?=gcc|' \ + -e 's|CFLAGS=|CFLAGS?=|' \ + ${WRKSRC}/mklist1_4/makefile + @${REINPLACE_CMD} -e 's|PARTS|parts|' \ + ${WRKSRC}/mklist1_4/mklist.c + +do-build: + @(cd ${WRKSRC}/mklist1_4 ; ${GMAKE} ${MAKE_ENV}) do-install: - @(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${DATADIR}) +.for f in models p parts LDCfgalt.ldr LDConfig.ldr LDConfig_TLG.ldr + @(cd ${WRKSRC} ; ${COPYTREE_SHARE} ${f} ${DATADIR}) +.endfor + + ${INSTALL_SCRIPT} ${WRKSRC}/mklist1_4/mklist ${DATADIR} + @(cd ${DATADIR} ; ./mklist -n) + +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif -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} + @${ECHO_CMD} + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} + .include <bsd.port.mk> Modified: head/cad/ldraw/distinfo ============================================================================== --- head/cad/ldraw/distinfo Tue Sep 17 17:39:21 2013 (r327495) +++ head/cad/ldraw/distinfo Tue Sep 17 17:51:28 2013 (r327496) @@ -1,2 +1,2 @@ -SHA256 (ldraw/complete.zip) = d6949e51f617ff46457dc5467d9b8d525cf744486ff9f29a49927f6eaa882b79 -SIZE (ldraw/complete.zip) = 21433103 +SHA256 (ldraw/complete.zip) = 504b27731cb7d7b83833dff2ca0bd711363f733751d4f3dc6fec6ef86f54d916 +SIZE (ldraw/complete.zip) = 22915441 Added: head/cad/ldraw/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/ldraw/files/pkg-message.in Tue Sep 17 17:51:28 2013 (r327496) @@ -0,0 +1,11 @@ +=============================================================================== + +LDraw has been installed. + +You can make parts.lst with + + %%DATADIR%%/mklist -h + +Default is sorted by Description parts.lst (mklist -d). You can change this. + +===============================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309171751.r8HHpS3E089407>