1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/net-p2p/gtkhx/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: gtkhx
# Date created: 9 February 2002
# Whom: Josh Elsasser <jre@vineyard.net>
#
# $FreeBSD$
#
PORTNAME= gtkhx
PORTVERSION= 0.9.4
PORTREVISION= 1
CATEGORIES= net-p2p
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A GTK+ version of Hx, a UNIX Hotline Client
USE_GNOME= gdkpixbuf gnomehack gnometarget
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gtkhx.1
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_NLS)
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
.else
PLIST_SUB+= NLS="@comment "
CONFIGURE_ARGS+=--disable-nls
.endif
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-I/usr/local/include||g ; \
s|-L/usr/local/lib||g ; \
s|^mandir =.*$$|mandir = $${prefix}/man/man1|g'
@${REINPLACE_CMD} -e 's|^CC =|#CC =|g' ${WRKSRC}/plugins/eliza/Makefile
@${REINPLACE_CMD} -e 's|^CC=|#CC=|g ; \
s|$$CFLAGS -O2|$$CFLAGS|g ; \
s|-g -Wall|$$CFLAGS -Wall|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>