aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimp-jagged-border-script/Makefile
blob: 63792e3d9296c8a2ca9b5edc175fd313e146fc19 (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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=	jagged-border
PORTVERSION=	0.2009.11.12
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	http://registry.gimp.org/files/
PKGNAMEPREFIX=	gimp-
PKGNAMESUFFIX=	-scripts
DISTNAME=	script-fu-jagged-border.scm
EXTRACT_SUFX=
EXTRACT_ONLY=

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	GIMP script to create a jagged border around an image

LICENSE=	GPLv3

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

USES=		dos2unix
NO_BUILD=	yes
NO_WRKSUBDIR=	yes

GIMP_SCRIPTS_DIR?=	share/gimp/scripts

PLIST_FILES=	${GIMP_SCRIPTS_DIR}/${DISTNAME}

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

post-extract:
	@${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/${GIMP_SCRIPTS_DIR}
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/${GIMP_SCRIPTS_DIR}/

.include <bsd.port.mk>