svn commit: r353995 - head/editors/yasnippet
Jimmy Olgeni
olgeni at FreeBSD.org
Tue May 13 21:00:40 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list