aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--LEGAL2
-rw-r--r--math/emc2/Makefile14
2 files changed, 5 insertions, 11 deletions
diff --git a/LEGAL b/LEGAL
index f98ef1cc3ad2..e2ab1212a98a 100644
--- a/LEGAL
+++ b/LEGAL
@@ -90,7 +90,7 @@ eClient-linux-i686.run games/atitd Redistribution not allowed
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
diff --git a/math/emc2/Makefile b/math/emc2/Makefile
index 90ea8fd2d398..f4445ef91ffd 100644
--- a/math/emc2/Makefile
+++ b/math/emc2/Makefile
@@ -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 no-pkg-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>