aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2014-06-22 09:22:52 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2014-06-22 09:22:52 +0000
commit51cffe34800878ed38272d2579acb8b5d6766a5c (patch)
tree5386f97639a0696dd57c0770e5fa8f31160dff58
parent7e30d004b780ac03ffd58a5512738c4633d9014d (diff)
downloadports-51cffe34800878ed38272d2579acb8b5d6766a5c.tar.gz
ports-51cffe34800878ed38272d2579acb8b5d6766a5c.zip
Support staging.
Notes
Notes: svn path=/head/; revision=358772
-rw-r--r--editors/apel-emacs21/Makefile1
-rw-r--r--editors/apel-emacs22/Makefile1
-rw-r--r--editors/apel/Makefile11
3 files changed, 5 insertions, 8 deletions
diff --git a/editors/apel-emacs21/Makefile b/editors/apel-emacs21/Makefile
index 1532237cea89..9dbfa0b42b6a 100644
--- a/editors/apel-emacs21/Makefile
+++ b/editors/apel-emacs21/Makefile
@@ -13,5 +13,4 @@ MASTERDIR= ${.CURDIR}/../../editors/apel
USE_EMACS= yes
EMACS_PORT_NAME= emacs21
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/editors/apel-emacs22/Makefile b/editors/apel-emacs22/Makefile
index 0f7b9a0c5256..9123750bf8f2 100644
--- a/editors/apel-emacs22/Makefile
+++ b/editors/apel-emacs22/Makefile
@@ -13,5 +13,4 @@ MASTERDIR= ${.CURDIR}/../../editors/apel
USE_EMACS= yes
EMACS_PORT_NAME= emacs22
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/editors/apel/Makefile b/editors/apel/Makefile
index 33b353729a82..cf5996557414 100644
--- a/editors/apel/Makefile
+++ b/editors/apel/Makefile
@@ -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 " NOEMACS23=""
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