blob: 44541e42bcae3522f1ff3d4a4ad3b752598a0c08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $FreeBSD$
PORTNAME= yasnippet
PORTVERSION= 0.6.1c
PORTREVISION= 10
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
BROKEN= Unfetchable
USES= tar:bzip2
USE_EMACS= yes
NO_BUILD= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
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>
|