aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gsnapshot/Makefile
blob: ce1f4ee4ad0fb07da7eb2675c90f32bd11f29e61 (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:111 autoheader:267 automake:111 autoconf:267 libtool:22
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>