diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-06-26 06:59:57 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-06-26 06:59:57 +0000 |
commit | ce29e68931818298f8646203e86e47b0fe0ae949 (patch) | |
tree | 5cd6cb53bd786d6af273e5fe93abdcd2b18e3313 /sysutils/gigolo/Makefile | |
parent | 0278f926636cf59f73b32ef7e6ec64f1451aacc2 (diff) | |
download | ports-ce29e68931818298f8646203e86e47b0fe0ae949.tar.gz ports-ce29e68931818298f8646203e86e47b0fe0ae949.zip |
Notes
Diffstat (limited to 'sysutils/gigolo/Makefile')
-rw-r--r-- | sysutils/gigolo/Makefile | 43 |
1 files changed, 38 insertions, 5 deletions
diff --git a/sysutils/gigolo/Makefile b/sysutils/gigolo/Makefile index 93f4e415b7f5..c1d61a9ac674 100644 --- a/sysutils/gigolo/Makefile +++ b/sysutils/gigolo/Makefile @@ -1,10 +1,16 @@ -# Created by: nemysis@gmx.ch +# Created by: nemysis <nemysis@gmx.ch> # $FreeBSD$ PORTNAME= gigolo PORTVERSION= 0.4.1 +PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= http://files.uvena.de/gigolo/ +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 @@ -15,22 +21,49 @@ BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo USE_BZIP2= yes +USES= fuse USE_GNOME= gtk20 gvfs USE_XORG= x11 USE_PYTHON= yes -USES= gettext MAN1= gigolo.1 -PORTDOCS= AUTHORS ChangeLog NEWS README TODO COPYING +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=${PREFIX}/man + @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> |