1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/editors/cream/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

51 lines
1.2 KiB
Makefile

# 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>