aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-elsamuko-script/Makefile
blob: 544024afabaf0f909d39298c0cb76b4e2bee5fef (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=	elsamuko
DISTVERSION=	0.24
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	https://sites.google.com/site/${PORTNAME}/gimp/
PKGNAMEPREFIX=	gimp-
PKGNAMESUFFIX=	-script
DISTNAME=	${PORTNAME}

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	Gimp scripts by elsamuko

LICENSE=	GPLv3

RUN_DEPENDS=	${LOCALBASE}/bin/gimp:${PORTSDIR}/graphics/gimp-app

OPTIONS_DEFINE=	DOCS

USES=		zip
NO_BUILD=	yes

GIMP_SCRIPTS_DIR?=	share/gimp/scripts

# installed dirs
PLIST_DIRSTRY=	${GIMP_SCRIPTS_DIR} \
		share/gimp

# installation dir
PLIST_SUB=	GIMP_SCRIPTS_DIR=${GIMP_SCRIPTS_DIR}

.include <bsd.port.options.mk>

# installed docs
PORTDOCS=	*

do-install:
	(cd ${WRKSRC} && ${COPYTREE_SHARE} \*.scm \
		${STAGEDIR}${PREFIX}/${GIMP_SCRIPTS_DIR})
# install docs
.if ${PORT_OPTIONS:MDOCS}
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/z_README ${STAGEDIR}${DOCSDIR}
.endif

.include <bsd.port.mk>