2002-07-01 16:34:53 +02:00
|
|
|
# New ports collection makefile for: irc/lostirc
|
|
|
|
# Date created: 01 Jul 2002
|
|
|
|
# Whom: Juan Salaverria <rael@vectorstar.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lostirc
|
2003-07-08 08:22:10 +02:00
|
|
|
PORTVERSION= 0.2.7
|
2004-02-04 05:36:30 +01:00
|
|
|
PORTREVISION= 2
|
2002-07-01 16:34:53 +02:00
|
|
|
CATEGORIES= irc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= rael@vectorstar.net
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= LostIRC is a simple and minimal IRC client for X
|
2002-07-01 16:34:53 +02:00
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
LIB_DEPENDS= gtkmm-2:${PORTSDIR}/x11-toolkits/gtk--2
|
2002-07-01 16:34:53 +02:00
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
2002-07-01 16:34:53 +02:00
|
|
|
USE_X_PREFIX= yes
|
2003-01-18 19:43:02 +01:00
|
|
|
USE_GNOME= gnomehack
|
2002-07-01 16:34:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-18 19:43:02 +01:00
|
|
|
USE_REINPLACE= yes
|
2003-11-19 01:57:26 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
2002-07-01 16:34:53 +02:00
|
|
|
|
|
|
|
MAN1= lostirc.1
|
|
|
|
|
|
|
|
DOCS= AUTHORS COPYING ChangeLog TODO README INSTALL
|
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-01-18 19:43:02 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -E "s@^(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.am
|
|
|
|
${REINPLACE_CMD} -E "s@(Gnomedir = ).*@\1${PREFIX}/share/gnome/apps/Internet@" ${WRKSRC}/Makefile.in
|
2003-07-08 08:22:10 +02:00
|
|
|
${REINPLACE_CMD} -E "s@^(pixmapdir = ).*@\1${PREFIX}/share/gnome/pixmaps@" ${WRKSRC}/Makefile.am
|
|
|
|
${REINPLACE_CMD} -E "s@(pixmapdir = ).*@\1${PREFIX}/share/gnome/pixmaps@" ${WRKSRC}/Makefile.in
|
2003-11-19 01:57:26 +01:00
|
|
|
${REINPLACE_CMD} -e 's|_nl_domain_bindings|libintl_nl_domain_bindings|' ${WRKSRC}/configure
|
2003-07-08 08:22:10 +02:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${REINPLACE_CMD} -E 's|MKINSTALLDIRS = \$$\(top_builddir\)/|MKINSTALLDIRS = |g' ${WRKSRC}/intl/Makefile
|
|
|
|
${REINPLACE_CMD} -E 's|MKINSTALLDIRS = \$$\(top_builddir\)/|MKINSTALLDIRS = |g' ${WRKSRC}/po/Makefile
|
2003-01-18 19:43:02 +01:00
|
|
|
|
2002-07-01 16:34:53 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-05-18 11:55:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|