Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2014 22:23:18 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r356860 - in head/math/emacs-calc: . files
Message-ID:  <201406062223.s56MNI8Y093194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Jun  6 22:23:17 2014
New Revision: 356860
URL: http://svnweb.freebsd.org/changeset/ports/356860
QAT: https://qat.redports.org/buildarchive/r356860/

Log:
  Add staging support, allow it as normal user

Modified:
  head/math/emacs-calc/Makefile
  head/math/emacs-calc/files/patch-Makefile

Modified: head/math/emacs-calc/Makefile
==============================================================================
--- head/math/emacs-calc/Makefile	Fri Jun  6 22:22:47 2014	(r356859)
+++ head/math/emacs-calc/Makefile	Fri Jun  6 22:23:17 2014	(r356860)
@@ -19,7 +19,6 @@ EMACS_PORT_NAME=emacs21
 
 INFO=		calc
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile
 

Modified: head/math/emacs-calc/files/patch-Makefile
==============================================================================
--- head/math/emacs-calc/files/patch-Makefile	Fri Jun  6 22:22:47 2014	(r356859)
+++ head/math/emacs-calc/files/patch-Makefile	Fri Jun  6 22:23:17 2014	(r356860)
@@ -40,16 +40,16 @@
 +	$(MAKE) info
 +
 +install: ${installfiles}
-+	install-info ${infodir}/calc.info ${infodir}/dir
++	install-info ${DESTDIR}${infodir}/calc.info ${DESTDIR}${infodir}/dir
 +
 +.for file in ${infofiles}
 +${infodir}/${file}: ${file}
-+	install -o root -g wheel -m 0444 $? $@
++	${BSD_INSTALL_DATA} $? ${DESTDIR}$@
 +.endfor
 +
 +.for file in ${sitefiles}
 +${calcsitedir}/${file}: ${file}
-+	@install -d -o root -g wheel -m 0755 ${@D}
-+	install -o root -g wheel -m 0444 $? $@
++	@install -d -m 0755 ${DESTDIR}${@D}
++	${BSD_INSTALL_DATA} $? ${DESTDIR}$@
 +.endfor
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406062223.s56MNI8Y093194>