aboutsummaryrefslogtreecommitdiff
path: root/graphics/gsnapshot/Makefile
blob: 624b34314729f71bd45f7994ef71a05b0767c3cd (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
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$

PORTNAME=	gsnapshot
PORTVERSION=	1.1
PORTREVISION=	4
CATEGORIES=	graphics
MASTER_SITES=	SF/gould/${PORTNAME}/release%20${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GTK+ based screen capture

USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtool
USE_GNOME=	gtk20 libwnck libxml2
USE_XORG=	x11 xmu
USE_PKGCONFIG=	yes

CFLAGS+=	-fPIC -I${LOCALBASE}/include/libxml2

PORTDOCS=	AUTHORS COPYING INSTALL README TODO

DESKTOP_ENTRIES=	"gsnapshot" \
			"Screen capture" \
			"" \
			"gsnapshot" \
			"Graphics;GTK;" \
			"false"

pre-configure:
	@${LN} -sf ${AUTOMAKE_DIR}/install-sh ${WRKSRC}
	@${LN} -sf ${AUTOMAKE_DIR}/depcomp ${WRKSRC}
	@${LN} -sf ${AUTOMAKE_DIR}/missing ${WRKSRC}

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>