Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 20:15:32 +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: r343147 - in head/textproc: yaml-mode.el yaml-mode.el-emacs21
Message-ID:  <201402062015.s16KFWna008324@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Feb  6 20:15:32 2014
New Revision: 343147
URL: http://svnweb.freebsd.org/changeset/ports/343147
QAT: https://qat.redports.org/buildarchive/r343147/

Log:
  Stage support
  
  PR:		ports/182481
  Submitted by:	maintainer

Modified:
  head/textproc/yaml-mode.el-emacs21/Makefile
  head/textproc/yaml-mode.el/Makefile

Modified: head/textproc/yaml-mode.el-emacs21/Makefile
==============================================================================
--- head/textproc/yaml-mode.el-emacs21/Makefile	Thu Feb  6 19:49:22 2014	(r343146)
+++ head/textproc/yaml-mode.el-emacs21/Makefile	Thu Feb  6 20:15:32 2014	(r343147)
@@ -6,5 +6,4 @@ MASTERDIR=	${.CURDIR}/../yaml-mode.el
 USE_EMACS=	yes
 EMACS_PORT_NAME=	emacs21
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"

Modified: head/textproc/yaml-mode.el/Makefile
==============================================================================
--- head/textproc/yaml-mode.el/Makefile	Thu Feb  6 19:49:22 2014	(r343146)
+++ head/textproc/yaml-mode.el/Makefile	Thu Feb  6 20:15:32 2014	(r343147)
@@ -21,20 +21,17 @@ USE_EMACS=	yes
 
 MAKE_ENV+=	LISPDIR=${LISPDIR}
 
-LISPDIR=	${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+LISPDIR=	${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+pre-install:
+	${MKDIR} ${LISPDIR}
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in Changes README
-	${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>



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