Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 13:51:47 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350477 - head/editors/tree-widget
Message-ID:  <201404071351.s37Dpl3N065974@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071351.s37Dpl3N065974>