ports/182481: [MAINTAINER] textproc/yaml-mode.el: add staging support
Yasuhiro KIMURA
yasu at utahime.org
Sun Sep 29 05:10:01 UTC 2013
>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:
More information about the freebsd-ports-bugs
mailing list