blob: 7941e9bb8c4e38730baf88bebc3387c37ae7617b (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Created by: nemysis <nemysis@gmx.ch>
# $FreeBSD$
PORTNAME= gigolo
PORTVERSION= 0.4.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://files.uvena.de/gigolo/ \
http://www.uvena.de/gigolo/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
network.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis@gmx.ch
COMMENT= Frontend to easily manage filesystem connections
LICENSE= GPLv2
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
USE_BZIP2= yes
USES= fuse pkgconfig
USE_GNOME= gtk20 gvfs
USE_XORG= x11
USE_PYTHON= yes
MAN1= gigolo.1
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Does not compile
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|COPYING ||' ${WRKSRC}/wscript
.if ! ${PORT_OPTIONS:MDOCS}
${REINPLACE_CMD} -e 's|bld.install_files|#bld.install_files|' ${WRKSRC}/wscript
.endif
.if ! ${PORT_OPTIONS:MNLS}
${REINPLACE_CMD} -e "s|= 'po'|= ''|" ${WRKSRC}/wscript
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf configure --mandir=${MANPREFIX}/man
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf build
do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
${INSTALL_DATA} ${_DISTDIR}/network.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|