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

PORTNAME=   icon-slicer
PORTVERSION=    0.3
PORTREVISION=   9
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=       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>