blob: 61bdbdcbee4b6a62e092c93938d8a80d82d9a16a (
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
46
|
# Created by: ports@FreeBSD.org
# $FreeBSD$
PORTNAME= libexif-gtk
PORTVERSION= 0.4.0
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/libexif/${PORTNAME}/${PORTVERSION}
MAINTAINER= marius@nuenneri.ch
COMMENT= GTK+ widgets to display/edit EXIF tags
LICENSE= LGPL21
LIB_DEPENDS= libexif.so:${PORTSDIR}/graphics/libexif
USES= libtool pathfix pkgconfig
USE_GNOME= gtk20
USE_AUTOTOOLS= autoconf
GUN_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${REINPLACE_CMD} 's|-g ||g' ${WRKSRC}/configure.ac
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|