summaryrefslogtreecommitdiffstats
path: root/x11/idesk/Makefile
blob: f22dede8bdd9eac4d2ca1855869212b500fbca3e (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
# New ports collection makefile for:	idesk
# Date created:		16 February 2003
# Whom:			Sascha Holzleiter <sascha@root-login.org>
#
# $FreeBSD$
#

PORTNAME=	idesk
PORTVERSION=	0.5.6
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}/

MAINTAINER=	sascha@root-login.org
COMMENT=	Place launch icons directly on your desktop

LIB_DEPENDS=	Xft.2:${PORTSDIR}/x11-fonts/libXft

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOME=	imlib librsvg2

NO_WRKSUBDIR=	yes

CXXFLAGS+=	`imlib-config --cflags` `freetype-config --cflags`
MAKE_ARGS=	cc="${CXX}" cflags="${CXXFLAGS}"

do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/idesk ${PREFIX}/bin
.if !defined(NOPORTDOCS)
		${MKDIR} ${DOCSDIR}
		${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
.endif
		@${SED} -e 's:%%PREFIX%%:${PREFIX}:' ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud