aboutsummaryrefslogtreecommitdiff
path: root/x11/idesk/Makefile
blob: a57282869a65419926cd86c460e8534052cda8c7 (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
41
42
43
44
45
PORTNAME=	idesk
PORTVERSION=	0.7.5
PORTREVISION=	13
CATEGORIES=	x11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Place launch icons and background directly on your desktop
WWW=		https://idesk.sourceforge.net

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libImlib2.so:graphics/imlib2 \
		libXft.so:x11-fonts/libXft

USES=		gmake pkgconfig tar:bzip2 xorg
USE_XORG=	ice sm x11

GNU_CONFIGURE=	yes

MAKE_ARGS=	cc="${CXX}" \
		cflags="${CXXFLAGS}"
SUB_FILES=	pkg-message
PLIST_FILES=	bin/${PORTNAME}
PORTDOCS=	README

OPTIONS_DEFINE=		DOCS SHAPE SN
OPTIONS_DEFAULT=	SHAPE

SHAPE_DESC=	Support of XShape extension
SN_DESC=	Startup notification support

SHAPE_USE=		XORG=xext
SHAPE_CONFIGURE_ENABLE=	shape

SN_LIB_DEPENDS=		libstartup-notification-1.so:x11/startup-notification
SN_CONFIGURE_ON=	--enable-libsn

do-install:
		${INSTALL_PROGRAM} ${WRKSRC}/src/idesk ${STAGEDIR}${PREFIX}/bin
		${MKDIR} ${STAGEDIR}${DOCSDIR}
		${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>