e047c473a9
- Change master sites [1] - Switch from waf to autotools [1] - Add USES=gmake and USE_GNOME=intlhack [1] - Remove USE_PYTHON=yes [1] - Change NLS - Change REINPLACE_CMD, install conditional DOCS PR: ports/185620 [1] Submitted by: olivierd@
47 lines
1 KiB
Makefile
47 lines
1 KiB
Makefile
# Created by: nemysis <nemysis@gmx.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gigolo
|
|
PORTVERSION= 0.4.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= XFCE
|
|
MASTER_SITE_SUBDIR= src/apps/${PORTNAME}/${PORTVERSION:R}
|
|
|
|
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= gmake fuse pkgconfig
|
|
USE_GNOME= cairo gtk20 gvfs intlhack
|
|
USE_XORG= x11
|
|
GNU_CONFIGURE= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= 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|^DOCFILES.*|DOCFILES =|' \
|
|
${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e \
|
|
's|$$(prefix)/$$(DATADIRNAME)/locale|$$(datarootdir)/locale|' \
|
|
${WRKSRC}/po/Makefile.in.in
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|