blob: 765874a1a748efe16f6a2b55750f62fc39798697 (
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
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD$
PORTNAME= cream
PORTVERSION= 0.43
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/Cream/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gvim extension with many features
LICENSE= GPLv3+
RUN_DEPENDS= ${LOCALBASE}/bin/gvim:editors/vim
NO_ARCH= yes
NO_BUILD= yes
USES= desktop-file-utils
PLIST_SUB= VIM_VER="${VIM_VER}"
OPTIONS_DEFINE= DOCS
VIMRUNTIME!= cd ../vim && ${MAKE} -V PORTVERSION:R:S,\.,,g
VIM_VER?= vim${VIMRUNTIME}
do-install:
(cd ${WRKSRC} && ${INSTALL_SCRIPT} cream \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/${VIM_VER}/cream
(cd ${WRKSRC} && ${INSTALL_DATA} creamrc *.vim \
${STAGEDIR}${PREFIX}/share/vim/${VIM_VER}/cream)
.for f in addons bitmaps help lang
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} \
${STAGEDIR}${PREFIX}/share/vim/${VIM_VER}/cream)
.endfor
(cd ${WRKSRC} && ${INSTALL_DATA} cream.desktop \
${STAGEDIR}${PREFIX}/share/applications)
(cd ${WRKSRC} && ${INSTALL_DATA} cream.png cream.svg \
${STAGEDIR}${PREFIX}/share/pixmaps)
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in docs docs-html
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} \
${STAGEDIR}${DOCSDIR})
.endfor
.include <bsd.port.mk>
|