mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
0a4473e71c
- USE_GNOME cairo instead of graphics/cairo - Support STAGEDIR Approved by: pawel / wg (mentors, implicit)
63 lines
1.5 KiB
Makefile
63 lines
1.5 KiB
Makefile
# 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@FreeBSD.org
|
|
COMMENT= Frontend to easily manage filesystem connections
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
|
|
|
|
USE_BZIP2= yes
|
|
USES= fuse pkgconfig
|
|
USE_GNOME= cairo gtk20 gvfs
|
|
USE_XORG= x11
|
|
USE_PYTHON= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
|
OPTIONS_SUB= yes
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
|
|
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|bld.install_files|#bld.install_files|' ${WRKSRC}/wscript
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
${REINPLACE_CMD} -e "s|= 'po'|= ''|" ${WRKSRC}/wscript
|
|
.endif
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf configure --prefix=${STAGEDIR}${PREFIX} \
|
|
--mandir=${STAGEDIR}${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 \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|