aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/icon-slicer/Makefile
blob: 3d46e1e5b5248e8e1ad443b4402153f847895317 (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
# New ports collection makefile for:    icon-slicer
# Date created:         29 May 2005
# Whom:             Jean-Yves Lefort <jylefort@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= jylefort@FreeBSD.org
COMMENT=    An utility for generating icon and cursor themes

LIB_DEPENDS=    popt:${PORTSDIR}/devel/popt

USE_REINPLACE=  yes
USE_GNOME=  gtk20
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

PLIST_FILES=    bin/icon-slicer

.if !defined(NOPORTDOCS)
PORTDOCS=   *
.endif

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

.if !defined(NOPORTDOCS)
post-install:
    ${MKDIR} ${DOCSDIR}
.for f in AUTHORS README TODO
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>