aboutsummaryrefslogtreecommitdiff
path: root/graphics/icon-slicer/Makefile
blob: 72705484d94efaf85b0b11f14a3527dac7578000 (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
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>

PORTNAME=	icon-slicer
PORTVERSION=	0.3
PORTREVISION=	10
CATEGORIES=	graphics
MASTER_SITES=	http://www.freedesktop.org/software/icon-slicer/releases/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Utility for generating icon and cursor themes

LICENSE=	MIT # in readme and sources; COPYING seem to be unrelated

LIB_DEPENDS=	libpopt.so:devel/popt

USES=		gnome localbase pkgconfig
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes

PORTDOCS=	AUTHORS ChangeLog README
PLIST_FILES=	bin/${PORTNAME}

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e '/^SUBDIRS/ s|examples||' ${WRKSRC}/Makefile.in

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>