blob: 787801fa1b65f77b03ce7bcc90dc6bf4e674b7af (
plain)
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
32
33
34
35
36
37
38
39
|
# $FreeBSD$
PORTNAME= cask
PORTVERSION= 0.7.0
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= devel elisp
MAINTAINER= rpaulo@FreeBSD.org
COMMENT= Project management tool for Emacs
LICENSE= GPLv3
USE_GITHUB= yes
USE_EMACS= yes
USES= python
NO_BUILD= yes
post-patch:
@${REINPLACE_CMD} -e 's|os.path.dirname(CASK_BIN_DIRECTORY)|"${PREFIX}/${EMACS_SITE_LISPDIR}"|' \
${WRKSRC}/bin/cask
do-install:
${INSTALL_DATA} ${WRKSRC}/cask.el \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/cask-bootstrap.el \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/cask-cli.el \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
${INSTALL_DATA} ${WRKSRC}/templates/init.tpl \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
${INSTALL_DATA} ${WRKSRC}/templates/init-dev.tpl \
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}/templates
${INSTALL_SCRIPT} ${WRKSRC}/bin/cask \
${STAGEDIR}${PREFIX}/bin/cask
.include <bsd.port.mk>
|