svn commit: r352550 - head/graphics/xface.el
Pawel Pekala
pawel at FreeBSD.org
Mon Apr 28 20:16:01 UTC 2014
Author: pawel
Date: Mon Apr 28 20:16:00 2014
New Revision: 352550
URL: http://svnweb.freebsd.org/changeset/ports/352550
QAT: https://qat.redports.org/buildarchive/r352550/
Log:
- Add staging support
- Convert to new options framework
Modified:
head/graphics/xface.el/Makefile
Modified: head/graphics/xface.el/Makefile
==============================================================================
--- head/graphics/xface.el/Makefile Mon Apr 28 19:45:23 2014 (r352549)
+++ head/graphics/xface.el/Makefile Mon Apr 28 20:16:00 2014 (r352550)
@@ -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>
More information about the svn-ports-head
mailing list