summaryrefslogtreecommitdiff
path: root/graphics/gsnapshot/Makefile
blob: 7ee8e56d2a6e39dde36d0f28eb5b283bef0e6b38 (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
# New ports collection makefile for:	gsnapshot
# Date created:		23 July 2007
# Whom:			Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#

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

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

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

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

PORTDOCS=	AUTHORS COPYING INSTALL README TODO

DESKTOP_ENTRIES=	"gsnapshot" \
			"A gtk+ based screen capture" \
			"" \
			"gsnapshot" \
			"Application;Graphics;" \
			"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>