Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 14:01:57 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182481: [MAINTAINER] textproc/yaml-mode.el: add staging support
Message-ID:  <20130929050157.142FD1C2AB8@rolling-vm-freebsd1.home.utahime.org>
Resent-Message-ID: <201309290510.r8T5A0cg007841@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182481
>Category:       ports
>Synopsis:       [MAINTAINER] textproc/yaml-mode.el: add staging support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 05:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Yasuhiro KIMURA
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD xxxx 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255921: Sat Sep 28 23:09:21 JST 2013 xxxx amd64


	
>Description:
	
	Add staging support.

>How-To-Repeat:
	
>Fix:

	

--- patch-yaml-mode.el begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 328641)
+++ Makefile	(working copy)
@@ -21,20 +21,17 @@
 
 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>
--- patch-yaml-mode.el ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



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