svn commit: r336243 - in head: . math/emc2
Eitan Adler
eadler at FreeBSD.org
Thu Dec 12 04:45:15 UTC 2013
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 at 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 <bsd.port.options.mk>
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 <bsd.port.mk>
More information about the svn-ports-all
mailing list