diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-12-12 04:45:14 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-12-12 04:45:14 +0000 |
commit | 7567a536459efa64b9e68b8661e3d7a40e46a216 (patch) | |
tree | 9c3b567cacdcc270eda60ae892cd162dbf7f9932 /math/emc2 | |
parent | ab95c322315356411bea4d5e743d29b26d36db27 (diff) | |
download | ports-7567a536459efa64b9e68b8661e3d7a40e46a216.tar.gz ports-7567a536459efa64b9e68b8661e3d7a40e46a216.zip |
math/emc2: modernize port
- Sync LEGAL as required.
- While here, fix COMMENT
- while here, USE_GMAKE -> USES=gmake
- Convert to OptionsNG
Notes
Notes:
svn path=/head/; revision=336243
Diffstat (limited to 'math/emc2')
-rw-r--r-- | math/emc2/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
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> |