1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/editors/yasnippet/Makefile
2014-05-13 21:00:40 +00:00

29 lines
782 B
Makefile

# $FreeBSD$
PORTNAME= yasnippet
PORTVERSION= 0.6.1c
PORTREVISION= 8
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
yasnippet-doc-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= olgeni@FreeBSD.org
COMMENT= YASnippet is a template system for Emacs
USES= tar:bzip2
USE_EMACS= yes
NO_BUILD= yes
SUB_FILES= pkg-message
post-patch:
@${FIND} ${WRKSRC}/snippets -type d -empty | ${XARGS} ${RMDIR}
do-install:
${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>