mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
1cd277bdce
GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk. Part II, Bump PORTREVISIONs. PR: 182136 Supported by: Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports) Tested by: bdrewery (two -exp runs)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# Created by: Christopher J. Ruwe
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ess
|
|
DISTVERSION= 13.09-1
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://ess.r-project.org/downloads/ess/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= cjr@cruwe.de
|
|
COMMENT= R support for Emacsen
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= R:${PORTSDIR}/math/R
|
|
|
|
USE_EMACS= yes
|
|
USES= gmake
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
INFO= ess
|
|
.endif
|
|
|
|
#attention, dirty hack: because 'ETCDIR =' is typed _with_ trailing
|
|
#space in Makefile, $STAGEDIR append fails without the additional
|
|
#space in the port
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} -e "\|^PREFIX=|d" -e "\|^INSTALL=|d" \
|
|
-e "\|^EMACS=|s|=.*|=${EMACS_NAME}|" \
|
|
-e "\|^ETCDIR\ =|s|=.*|=${STAGEDIR}${PREFIX}/${EMACS_LIBDIR}/etc/ess|" \
|
|
-e "\|^INFODIR=|s|=.*|=${STAGEDIR}${PREFIX}/${INFO_PATH}|" \
|
|
-e "\|^LISPDIR=|s|=.*|=${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}|" \
|
|
${WRKSRC}/Makeconf
|
|
${REINPLACE_CMD} -e "\|cd doc; \$$(MAKE) \$$@|d" \
|
|
${WRKSRC}/Makefile
|
|
${REINPLACE_CMD} -e "s|\$$(INSTALL)|${INSTALL_DATA}|g" \
|
|
${WRKSRC}/doc/Makefile ${WRKSRC}/etc/Makefile
|
|
${REINPLACE_CMD} -e "s|\$$(INSTALL)|${INSTALL_SCRIPT}|g" \
|
|
${WRKSRC}/lisp/Makefile
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-build:
|
|
@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \
|
|
${MAKE_ARGS} info)
|
|
.endif
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@(cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} \
|
|
${MAKE_ARGS} install-info)
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|