1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/sysutils/gigolo/Makefile
Mark Linimon 13fb0b92a2 Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:44:15 +00:00

45 lines
1.0 KiB
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= gigolo
PORTVERSION= 0.4.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= XFCE/src/apps/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= koalative@gmail.com
COMMENT= Frontend to easily manage filesystem connections
LICENSE= GPLv2
ONLY_FOR_ARCHS= amd64 i386 powerpc64
ONLY_FOR_ARCHS_REASON= Does not compile
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
USES= gmake fuse pkgconfig gettext-tools xfce tar:bzip2
USE_GNOME= cairo gtk20 gvfs intlhack
USE_XORG= x11
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext-runtime
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>