diff options
author | olgeni <olgeni@FreeBSD.org> | 2014-05-14 05:00:40 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2014-05-14 05:00:40 +0800 |
commit | 8f573c279ed81ad8a7d97a98905e99262bd0ef48 (patch) | |
tree | 4d2d0be3a300da3adca35ed8c34cabcacf3a2190 /editors | |
parent | a8aa07612cf5b9cae439d353f7471ed236107198 (diff) | |
download | freebsd-ports-gnome-8f573c279ed81ad8a7d97a98905e99262bd0ef48.tar.gz freebsd-ports-gnome-8f573c279ed81ad8a7d97a98905e99262bd0ef48.tar.zst freebsd-ports-gnome-8f573c279ed81ad8a7d97a98905e99262bd0ef48.zip |
Add staging support.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/yasnippet/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/editors/yasnippet/Makefile b/editors/yasnippet/Makefile index 6e2b52bb87ed..f8629a753e5c 100644 --- a/editors/yasnippet/Makefile +++ b/editors/yasnippet/Makefile @@ -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> |