svn commit: r402481 - head/math/ess

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Nov 27 11:26:14 UTC 2015


Author: amdmi3
Date: Fri Nov 27 11:26:12 2015
New Revision: 402481
URL: https://svnweb.freebsd.org/changeset/ports/402481

Log:
  - Clarify LICENSE
  - Add LICENSE_FILE
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/math/ess/Makefile

Modified: head/math/ess/Makefile
==============================================================================
--- head/math/ess/Makefile	Fri Nov 27 11:25:56 2015	(r402480)
+++ head/math/ess/Makefile	Fri Nov 27 11:26:12 2015	(r402481)
@@ -10,20 +10,20 @@ MASTER_SITES=	http://ess.r-project.org/d
 MAINTAINER=	ports at freebsd.org
 COMMENT=	R support for Emacsen
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS=	R:${PORTSDIR}/math/R
 
 USE_EMACS=	yes
 USES=		gmake tar:tgz
+NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS
 
 DOCS_USES=	makeinfo
 DOCS_INFO=	ess
 
-.include <bsd.port.options.mk>
-
 #attention, dirty hack: because 'ETCDIR =' is typed _with_ trailing
 #space in Makefile, $STAGEDIR append fails without the additional
 #space in the port
@@ -42,16 +42,12 @@ post-patch: .SILENT
 	${REINPLACE_CMD} -e "s|\$$(INSTALL)|${INSTALL_SCRIPT}|g" \
 		${WRKSRC}/lisp/Makefile
 
-post-build:
-.if ${PORT_OPTIONS:MDOCS}
+post-build-DOCS-on:
 	@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \
 		${MAKE_ARGS} info)
-.endif
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${_MAKE_JOBS} \
 		${MAKE_ARGS} install-info)
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list