- Clarify LICENSE

- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov
2015-11-27 11:26:12 +00:00
parent ff692e9335
commit 12805ae760

View File

@@ -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>