blob: 631a85e200768ffba9e978beb4dfc52c139cc613 (
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
48
49
50
51
52
53
54
55
56
57
58
59
|
# Created by: bf
# $FreeBSD$
PORTNAME= gnunet-gtk
DISTVERSION= 0.9.3
CATEGORIES= net-p2p ipv6 security
MASTER_SITES= GNU
MASTER_SITE_SUBDIR= gnunet
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK interface to GNUnet
BROKEN= Does not fetch
LICENSE= GPLv3
LIB_DEPENDS= libgladeui-1.so:${PORTSDIR}/devel/glade3 \
libgnunetutil.so:${PORTSDIR}/net-p2p/gnunet
INSTALLS_ICONS= yes
USE_AUTOTOOLS= libltdl libtool
USES= pathfix iconv gmake pkgconfig
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-extractor=${LOCALBASE} \
--with-gnunet=${LOCALBASE} \
${ICONV_CONFIGURE_ARG}
MAN1= gnunet-fs-gtk.1
NO_STAGE= yes
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
@${FIND} ${WRKSRC} -type f -name 'Makefile.in' -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e \
'/^[[:blank:]]*mkinstalldirs[[:blank:]]*=/s/=.*/= $$(mkdir_p)/'
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|