aboutsummaryrefslogtreecommitdiff
path: root/math/ess
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-27 11:26:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-27 11:26:12 +0000
commit12805ae760091a86bb4ec659d46e9b9e657a40ef (patch)
treee8ec5d4dec812c44e2408f928fa328d67fea8ae8 /math/ess
parentff692e93353769e73f13c21fb4aa3897915ee9ad (diff)
downloadports-12805ae760091a86bb4ec659d46e9b9e657a40ef.tar.gz
ports-12805ae760091a86bb4ec659d46e9b9e657a40ef.zip
- Clarify LICENSE
- Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers
Notes
Notes: svn path=/head/; revision=402481
Diffstat (limited to 'math/ess')
-rw-r--r--math/ess/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/math/ess/Makefile b/math/ess/Makefile
index 82c6e0c536a8..a0f84bf62da5 100644
--- a/math/ess/Makefile
+++ b/math/ess/Makefile
@@ -10,20 +10,20 @@ MASTER_SITES= http://ess.r-project.org/downloads/ess/
MAINTAINER= ports@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>