summaryrefslogtreecommitdiffstats
path: root/graphics/gsnapshot/Makefile
blob: e89c3fbb222613f9b674b8714e5df1c7ff736a41 (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
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:	gsnapshot
# Date created:		23 July 2007
# Whom:			Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#

PORTNAME=	gsnapshot
PORTVERSION=	1.0
PORTREVISION=	3
CATEGORIES=	graphics
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	gould

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

USE_AUTOTOOLS=	automake:15:env libtool:15
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
USE_XORG=	x11

WRKSRC=		${WRKDIR}/${PORTNAME}

PORTDOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS 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>
OpenPOWER on IntegriCloud