mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
44 lines
938 B
Makefile
44 lines
938 B
Makefile
# Created by: Yinghong.Liu <relaxbsd@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gsnapshot
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/gould/${PORTNAME}/release%20${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= GTK+ based screen capture
|
|
|
|
USES= pkgconfig
|
|
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtool
|
|
USE_GNOME= gtk20 libwnck libxml2
|
|
USE_XORG= x11 xmu
|
|
USE_GMAKE= 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>
|