2004-02-09 12:56:30 +01:00
|
|
|
# New ports collection makefile for: weechat
|
|
|
|
# Date created: 2003-03-07
|
|
|
|
# Whom: clement
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= weechat
|
2005-09-26 11:21:27 +02:00
|
|
|
PORTVERSION= 0.1.5
|
2004-02-09 12:56:30 +01:00
|
|
|
CATEGORIES= irc
|
|
|
|
MASTER_SITES= http://weechat.flashtux.org/download/
|
|
|
|
|
2005-10-03 14:55:25 +02:00
|
|
|
MAINTAINER= az@FreeBSD.org
|
2004-02-09 12:56:30 +01:00
|
|
|
COMMENT= A lightweight and user friendly ncurse based IRC client
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lintl"
|
|
|
|
CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE}
|
2005-07-31 14:10:19 +02:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2005-01-15 16:36:06 +01:00
|
|
|
MAN1= weechat-curses.1
|
2005-08-01 13:49:20 +02:00
|
|
|
INFO= weechat_doc_en weechat_doc_es weechat_doc_fr weechat_doc_pt
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2005-05-07 11:07:00 +02:00
|
|
|
PLIST_FILES= bin/weechat-curses
|
|
|
|
|
2005-09-26 11:21:27 +02:00
|
|
|
.for lang in cs fr es
|
2005-05-07 11:07:00 +02:00
|
|
|
PLIST_FILES+= %%NLS%%share/locale/${lang}/LC_MESSAGES/weechat.mo
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
2004-02-09 12:56:30 +01:00
|
|
|
|
2004-04-06 10:29:37 +02:00
|
|
|
pre-configure:
|
2004-02-09 12:56:30 +01:00
|
|
|
@${CP} ${LOCALBASE}/share/gettext/config.rpath ${WRKSRC}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|