svn commit: r350477 - head/editors/tree-widget
Pawel Pekala
pawel at FreeBSD.org
Mon Apr 7 13:51:48 UTC 2014
Author: pawel
Date: Mon Apr 7 13:51:47 2014
New Revision: 350477
URL: http://svnweb.freebsd.org/changeset/ports/350477
QAT: https://qat.redports.org/buildarchive/r350477/
Log:
- Add staging support
- Remove leading article from COMMENT
Modified:
head/editors/tree-widget/Makefile
Modified: head/editors/tree-widget/Makefile
==============================================================================
--- head/editors/tree-widget/Makefile Mon Apr 7 13:50:36 2014 (r350476)
+++ head/editors/tree-widget/Makefile Mon Apr 7 13:51:47 2014 (r350477)
@@ -11,31 +11,25 @@ MASTER_SITES= SF/emhacks/${PORTNAME}/${P
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
MAINTAINER= ports at FreeBSD.org
-COMMENT= A tree widget for Emacs
+COMMENT= Tree widget for Emacs
USE_EMACS= yes
-LISPDIR= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+LISPDIR= ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
NO_WRKSUBDIR= yes
THEMES_SUBDIR= default folder
-NO_STAGE= yes
do-build:
cd ${WRKSRC}; ${EMACS_NAME} -batch -no-site-file\
--eval="(add-to-list 'load-path \"${WRKSRC}\")"\
-f batch-byte-compile *.el
do-install:
- ${MKDIR} ${LISPDIR}
-.for i in *.el *.elc
- ${INSTALL_DATA} ${WRKSRC}/${i} ${LISPDIR}
-.endfor
- ${MKDIR} ${LISPDIR}/tree-widget-themes
-.for i in ${THEMES_SUBDIR}
- ${MKDIR} ${LISPDIR}/tree-widget-themes/${i}
- ${INSTALL_DATA} ${WRKSRC}/tree-widget-themes/${i}/*\
- ${LISPDIR}/tree-widget-themes/${i}
-.endfor
+ @${MKDIR} ${LISPDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.el *.elc ${LISPDIR})
+ @${MKDIR} ${LISPDIR}/tree-widget-themes
+ (cd ${WRKSRC}/tree-widget-themes && ${COPYTREE_SHARE} "${THEMES_SUBDIR}" \
+ ${LISPDIR}/tree-widget-themes)
.include <bsd.port.pre.mk>
More information about the svn-ports-all
mailing list