pkgsrc/chat/tirc/Makefile
jlam a9f08159c4 Back out last change related to moving ncurses/buildlink2.mk to
curses.buildlink2.mk.  This was wrong because we _really_ do want to
express that we want _n_curses when we include the buildlink2.mk file.

We should have a better way to say that the NetBSD curses doesn't
quite work well enough.  In fact, it's far better to depend on ncurses
by default, and exceptionally note when it's okay to use NetBSD curses
for specific packages.  We will look into this again in the future.
2003-09-28 09:13:55 +00:00

34 lines
898 B
Makefile

# $NetBSD: Makefile,v 1.9 2003/09/28 09:13:56 jlam Exp $
#
DISTNAME= tirc-1.2
PKGREVISION= 1
CATEGORIES= chat
MASTER_SITES= ftp://ftp.mayn.de/pub/unix/network/irc/tirc/
MAINTAINER= tech-pkg@NetBSD.org
COMMENT= Token's 'Internet Relay Chat' Client
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+="--with-ansi-colours"
post-patch:
${SED} "s,/usr/local,${PREFIX},g" ${WRKSRC}/tirc.1 \
> ${WRKSRC}/tirc.1.done
${MV} ${WRKSRC}/tirc.1.done ${WRKSRC}/tirc.1
${SED} "s,/usr/local/share/tircrc,${PREFIX}/share/tirc/tircrc,g"\
${WRKSRC}/main.c > ${WRKSRC}/main.c.done
${MV} ${WRKSRC}/main.c.done ${WRKSRC}/main.c
.if exists(/usr/include/sys/queue.h)
${RM} ${WRKSRC}/sys/queue.h
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/tirc
${INSTALL_DATA} ${WRKSRC}/dot.tircrc ${PREFIX}/share/tirc/tircrc
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"