svn commit: r358772 - in head/editors: apel apel-emacs21 apel-emacs22

MANTANI Nobutaka nobutaka at FreeBSD.org
Sun Jun 22 09:22:53 UTC 2014


Author: nobutaka
Date: Sun Jun 22 09:22:52 2014
New Revision: 358772
URL: http://svnweb.freebsd.org/changeset/ports/358772
QAT: https://qat.redports.org/buildarchive/r358772/

Log:
  Support staging.

Modified:
  head/editors/apel-emacs21/Makefile
  head/editors/apel-emacs22/Makefile
  head/editors/apel/Makefile

Modified: head/editors/apel-emacs21/Makefile
==============================================================================
--- head/editors/apel-emacs21/Makefile	Sun Jun 22 09:12:30 2014	(r358771)
+++ head/editors/apel-emacs21/Makefile	Sun Jun 22 09:22:52 2014	(r358772)
@@ -13,5 +13,4 @@ MASTERDIR=	${.CURDIR}/../../editors/apel
 USE_EMACS=	yes
 EMACS_PORT_NAME=	emacs21
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"

Modified: head/editors/apel-emacs22/Makefile
==============================================================================
--- head/editors/apel-emacs22/Makefile	Sun Jun 22 09:12:30 2014	(r358771)
+++ head/editors/apel-emacs22/Makefile	Sun Jun 22 09:22:52 2014	(r358772)
@@ -13,5 +13,4 @@ MASTERDIR=	${.CURDIR}/../../editors/apel
 USE_EMACS=	yes
 EMACS_PORT_NAME=	emacs22
 
-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"

Modified: head/editors/apel/Makefile
==============================================================================
--- head/editors/apel/Makefile	Sun Jun 22 09:12:30 2014	(r358771)
+++ head/editors/apel/Makefile	Sun Jun 22 09:22:52 2014	(r358772)
@@ -27,14 +27,13 @@ DESCR=		${PKGDIR}/pkg-descr
 # target name for make build
 ALL_TARGET?=	elc
 # environments
-MAKE_ARGS+=	PREFIX="${LOCALBASE}" \
-		LISPDIR="${APEL_LISPDIR}" \
-		VERSION_SPECIFIC_LISPDIR="${APEL_VERSION_SPECIFIC_LISPDIR}"
+MAKE_ARGS+=	PREFIX="${STAGEDIR}${LOCALBASE}" \
+		LISPDIR="${STAGEDIR}${APEL_LISPDIR}" \
+		VERSION_SPECIFIC_LISPDIR="${STAGEDIR}${APEL_VERSION_SPECIFIC_LISPDIR}"
 
 OPTIONS_DEFINE=	DOCS
 OPTINOS_DEFAULT=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 .include <bsd.port.pre.mk>
 
@@ -46,10 +45,10 @@ PLIST_SUB+=	EMACS23="@comment " NOEMACS2
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@(cd ${WRKSRC} ; \
 	for i in ChangeLog README.* ; do \
-	    ${INSTALL_DATA} $${i} ${DOCSDIR} ; \
+	    ${INSTALL_DATA} $${i} ${STAGEDIR}${DOCSDIR} ; \
 	done)
 .endif
 


More information about the svn-ports-all mailing list