aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-28 20:16:00 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-28 20:16:00 +0000
commitdba354cb54839d9fdeca4238a5bd6d954ae03c42 (patch)
treef930ededea577e1441251dda2202d0d51b86b9dc /graphics
parent43bfd9dd57e03753ad6adaa39e84783b92e50bf0 (diff)
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xface.el/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/graphics/xface.el/Makefile b/graphics/xface.el/Makefile
index 40b5e9c192d0..f0360ac9255a 100644
--- a/graphics/xface.el/Makefile
+++ b/graphics/xface.el/Makefile
@@ -40,7 +40,8 @@ PLIST_SUB+= E21_ONLY="@comment " \
PLIST_SUB+= LISPDIR=${LISPDIR} \
DOCSDIR=share/doc/${PORTNAME}
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
.if (${EMACS_PORT_NAME} == emacs21)
${CP} ${DISTDIR}/x-face-e21.el.gz ${WRKSRC}
@@ -53,15 +54,13 @@ post-build:
-f batch-byte-compile x-face-e21.el)
.endif
do-install:
- ${MKDIR} ${PREFIX}/${LISPDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${LISPDIR}
.for i in ${LISP_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${i}.el ${WRKSRC}/${i}.elc ${PREFIX}/${LISPDIR}
-.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for i in METHOD.ja README.ja README-Anim.ja TODO.ja
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i}.el ${WRKSRC}/${i}.elc \
+ ${STAGEDIR}${PREFIX}/${LISPDIR}
.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} METHOD.ja README.ja README-Anim.ja \
+ TODO.ja ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>