From owner-svn-ports-all@FreeBSD.ORG Thu Dec 12 04:45:15 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CD14562; Thu, 12 Dec 2013 04:45:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E35FA1900; Thu, 12 Dec 2013 04:45:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBC4jEQ6018784; Thu, 12 Dec 2013 04:45:14 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBC4jEI0018779; Thu, 12 Dec 2013 04:45:14 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201312120445.rBC4jEI0018779@svn.freebsd.org> From: Eitan Adler Date: Thu, 12 Dec 2013 04:45:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336243 - in head: . math/emc2 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.17 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: Thu, 12 Dec 2013 04:45:15 -0000 Author: eadler Date: Thu Dec 12 04:45:14 2013 New Revision: 336243 URL: http://svnweb.freebsd.org/changeset/ports/336243 Log: math/emc2: modernize port - Sync LEGAL as required. - While here, fix COMMENT - while here, USE_GMAKE -> USES=gmake - Convert to OptionsNG Modified: head/LEGAL head/math/emc2/Makefile Modified: head/LEGAL ============================================================================== --- head/LEGAL Thu Dec 12 04:41:07 2013 (r336242) +++ head/LEGAL Thu Dec 12 04:45:14 2013 (r336243) @@ -90,7 +90,7 @@ eClient-linux-i686.run games/atitd Redi ecw_jpeg_2000_*.zip graphics/libecwj2 Must be downloaded manually from Ermapper site edith* editors/edith Redistribution not allowed eijiro* japanese/eijiro-fpw The original dictionary is not free -emc2* math/emc2 Contact author personally regarding commercial use +emc2* math/emc2 No resale, contact author for commercial usage et-linux-* games/linux-enemyterritory Redistribution limited etqw* games/linux-etqw-demo-server Redistribution limited etqw* games/linux-etqw-server Redistribution limited Modified: head/math/emc2/Makefile ============================================================================== --- head/math/emc2/Makefile Thu Dec 12 04:41:07 2013 (r336242) +++ head/math/emc2/Makefile Thu Dec 12 04:45:14 2013 (r336243) @@ -13,7 +13,7 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} .endif MAINTAINER= ports@FreeBSD.org -COMMENT= A graphical editor of two-dimensional mesh geometries +COMMENT= Graphical editor of two-dimensional mesh geometries LICENSE= INRIA LICENSE_NAME= INRIA license, perhaps specific to emc2 @@ -22,36 +22,30 @@ LICENSE_PERMS= auto-accept no-dist-sell RESTRICTED= No resale, contact author for commercial usage USE_XORG= x11 -USE_GMAKE= yes +USES= gmake ALL_TARGET= ${PORTNAME} .if defined(LANG) && ${LANG:Mfr*} != "" CFLAGS+= -DFRENCH .endif -.if !defined(NOPORTDOCS) PORTDOCS= ${DISTFILES:M*.pdf} -.endif - -.if !defined(NOPORTEXAMPLES) PORTEXAMPLES= * -.endif PLIST_FILES= bin/emc2 bin/prf_f3d NO_STAGE= yes +.include do-install: @${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${PREFIX}/bin @${INSTALL_SCRIPT} ${WRKSRC}/prf_f3d ${PREFIX}/bin post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @(cd ${DISTDIR} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR}) .endif -.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} -.endif .include