Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2014 21:00:40 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353995 - head/editors/yasnippet
Message-ID:  <201405132100.s4DL0eZZ092650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue May 13 21:00:40 2014
New Revision: 353995
URL: http://svnweb.freebsd.org/changeset/ports/353995
QAT: https://qat.redports.org/buildarchive/r353995/

Log:
  Add staging support.

Modified:
  head/editors/yasnippet/Makefile

Modified: head/editors/yasnippet/Makefile
==============================================================================
--- head/editors/yasnippet/Makefile	Tue May 13 20:57:32 2014	(r353994)
+++ head/editors/yasnippet/Makefile	Tue May 13 21:00:40 2014	(r353995)
@@ -11,24 +11,18 @@ DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 MAINTAINER=	olgeni@FreeBSD.org
 COMMENT=	YASnippet is a template system for Emacs
 
-USE_BZIP2=	yes
+USES=		tar:bzip2
 USE_EMACS=	yes
 NO_BUILD=	yes
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 post-patch:
 	@${FIND} ${WRKSRC}/snippets -type d -empty | ${XARGS} ${RMDIR}
 
 do-install:
-	@${INSTALL_DATA} ${WRKSRC}/dropdown-list.el ${PREFIX}/${EMACS_SITE_LISPDIR}
-	@${INSTALL_DATA} ${WRKSRC}/yasnippet.el ${PREFIX}/${EMACS_SITE_LISPDIR}
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} snippets ${DATADIR}
-.if !defined(NOPORTDOCS)
-	@cd ${WRKDIR}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}
-.endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_DATA} ${WRKSRC}/dropdown-list.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/yasnippet.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} snippets ${STAGEDIR}${DATADIR}
+	cd ${WRKDIR}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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