From owner-svn-ports-all@FreeBSD.ORG Sat Oct 27 19:02:55 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B54BDD; Sat, 27 Oct 2012 19:02:55 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 435568FC14; Sat, 27 Oct 2012 19:02:55 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q9RJ2tiH038279; Sat, 27 Oct 2012 19:02:55 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q9RJ2tl5038275; Sat, 27 Oct 2012 19:02:55 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201210271902.q9RJ2tl5038275@svn.freebsd.org> From: Baptiste Daroussin Date: Sat, 27 Oct 2012 19:02:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306521 - in head/cad/admesh: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 19:02:55 -0000 Author: bapt Date: Sat Oct 27 19:02:54 2012 New Revision: 306521 URL: http://svn.freebsd.org/changeset/ports/306521 Log: - Update MASTER_SITES and WWW: line - Add LICENSE - Add MAKE_JOBS_SAFE - Fix build with clang - Respects DOCS PR: ports/172219 Submitted by: KATO Tsuguru Feature safe: yes Added: head/cad/admesh/files/ head/cad/admesh/files/patch-admesh.c (contents, props changed) Modified: head/cad/admesh/Makefile (contents, props changed) head/cad/admesh/pkg-descr (contents, props changed) Modified: head/cad/admesh/Makefile ============================================================================== --- head/cad/admesh/Makefile Sat Oct 27 18:54:33 2012 (r306520) +++ head/cad/admesh/Makefile Sat Oct 27 19:02:54 2012 (r306521) @@ -1,32 +1,35 @@ -# New ports collection makefile for: admesh -# Date created: 25 June 2003 -# Whom: Pedro F. Giffuni -# +# Created by: Pedro F. Giffuni # $FreeBSD$ -# PORTNAME= admesh PORTVERSION= 0.95 PORTREVISION= 1 CATEGORIES= cad -MASTER_SITES= http://www.varlog.com/ +MASTER_SITES= http://launchpadlibrarian.net/67068999/ \ + http://www.sourcefiles.org/Scientific/Numerical_Analysis/ MAINTAINER= ports@FreeBSD.org COMMENT= Program for processing STL triangulated solid meshes -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2012-10-20 +LICENSE= GPLv2 # (or later) + +OPTIONS_DEFINE= DOCS -FETCH_ARGS?= -Fpr GNU_CONFIGURE= yes +MAKE_JOBS_SAFE= yes -PLIST_FILES= bin/admesh PORTDOCS= admesh.doc +PLIST_FILES= bin/admesh + +.include + +post-patch: + @${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin/ -.ifndef NOPORTDOCS - ${MKDIR} ${DOCSDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${DOCSDIR}/admesh.doc .endif Added: head/cad/admesh/files/patch-admesh.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/admesh/files/patch-admesh.c Sat Oct 27 19:02:54 2012 (r306521) @@ -0,0 +1,11 @@ +--- ./admesh.c.orig 1996-07-27 00:07:15.000000000 +0200 ++++ ./admesh.c 2012-10-27 21:01:18.374482756 +0200 +@@ -27,7 +27,7 @@ + + static void usage(int status, char *program_name); + +-void ++int + main(int argc, char **argv) + { + stl_file stl_in; Modified: head/cad/admesh/pkg-descr ============================================================================== --- head/cad/admesh/pkg-descr Sat Oct 27 18:54:33 2012 (r306520) +++ head/cad/admesh/pkg-descr Sat Oct 27 19:02:54 2012 (r306521) @@ -20,4 +20,4 @@ Features * Write a DXF file * Calculate the volume of a part -WWW: http://www.varlog.com +WWW: https://launchpad.net/admesh