freebsd-ports/net-p2p/gtkhx/Makefile
Jason E. Hale a813d803b8 - Support staging
- Use options helpers
- Add LICENSE (GPLv2)
2014-06-24 12:12:31 +00:00

37 lines
877 B
Makefile

# Created by: Josh Elsasser <jre@vineyard.net>
# $FreeBSD$
PORTNAME= gtkhx
PORTVERSION= 0.9.4
PORTREVISION= 6
CATEGORIES= net-p2p
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ version of Hx, a UNIX Hotline Client
LICENSE= GPLv2
USES= pathfix gmake
USE_GNOME= gdkpixbuf
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
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.mk>