summaryrefslogtreecommitdiff
path: root/sysutils/idesk/Makefile
blob: 31974d1374608bed45c57b0cf345618a4d0141e2 (plain)
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
# $NetBSD: Makefile,v 1.24 2010/01/27 19:10:29 joerg Exp $
#

DISTNAME=	idesk-0.7.5
PKGREVISION=	3
CATEGORIES=	sysutils x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=idesk/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pancake@phreaker.net
HOMEPAGE=	http://idesk.sourceforge.net/
COMMENT=	Lightweight desktop icons handler

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=		YES
USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake pkg-config

CONFIGURE_ARGS+=	--enable-libsn

SUBST_CLASSES+=		lnkpath
SUBST_STAGE.lnkpath=	pre-configure
SUBST_FILES.lnkpath=	examples/default.lnk
SUBST_SED.lnkpath=	-e 's|/usr/local/share|${PREFIX}/share|g'

INSTALLATION_DIRS+=	share/doc/idesk

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/idesk

.include "../../graphics/imlib2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"