blob: a9a1bf32e25a594295be8e28bc8c7ac8b6bde803 (
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
|
# New ports collection makefile for: cream
# Date created: 2004-08-25
# Whom: Janos Mohacsi <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#
PORTNAME= cream
PORTVERSION= 0.38
PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Gvim extension with many features
RUN_DEPENDS= ${LOCALBASE}/bin/gvim:${PORTSDIR}/editors/vim
NO_BUILD= yes
# needs updating for each major vim update.
VIMRUNTIME= ${PREFIX}/share/vim/vim70
PLIST_SUB= VIMRUNTIME="${VIMRUNTIME:S/${PREFIX}\///}"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/cream ${PREFIX}/bin
${MKDIR} ${VIMRUNTIME}/cream
${INSTALL_DATA} ${WRKSRC}/creamrc ${WRKSRC}/*.vim ${VIMRUNTIME}/cream
.for f in addons bitmaps help lang spelldicts
${MKDIR} ${VIMRUNTIME}/cream/${f}
${INSTALL_DATA} ${WRKSRC}/${f}/* ${VIMRUNTIME}/cream/${f}
.endfor
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/cream.png ${WRKSRC}/cream.svg \
${PREFIX}/share/pixmaps
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/cream.desktop ${PREFIX}/share/applications
.if !defined(NOPORTDOCS)
.for f in docs docs-html
${MKDIR} ${DOCSDIR}/${f}
${INSTALL_DATA} ${WRKSRC}/${f}/* ${DOCSDIR}/${f}
.endfor
.endif
.include <bsd.port.mk>
|