2013-03-08 14:00:30 +00:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2004-12-14 19:08:28 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= netwalker-ircc
|
|
|
|
PORTVERSION= 0.5.0
|
|
|
|
CATEGORIES= irc
|
2008-03-27 19:27:34 +00:00
|
|
|
MASTER_SITES= CRITICAL
|
2004-12-14 19:08:28 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2005-10-06 11:57:11 +00:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2013-03-08 14:00:30 +00:00
|
|
|
COMMENT= Lightweight curses-based IRC client
|
2004-12-14 19:08:28 +00:00
|
|
|
|
2011-01-25 19:59:40 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2004-12-14 19:08:28 +00:00
|
|
|
MAN1= netwalker.1
|
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
LDFLAGS+= -lncurses ${PTHREAD_LIBS}
|
2004-12-14 19:08:28 +00:00
|
|
|
CFLAGS?= -O2 -Wall
|
|
|
|
|
2013-09-20 18:44:49 +00:00
|
|
|
NO_STAGE= yes
|
2004-12-14 19:08:28 +00:00
|
|
|
post-patch:
|
|
|
|
@${SED} -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/config.h > ${WRKSRC}/config.h.freebsd
|
|
|
|
${MV} ${WRKSRC}/config.h.freebsd ${WRKSRC}/config.h
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
.for file in main functions screen server user messages signals parameter userdb
|
|
|
|
${CXX} ${CFLAGS} -c ${WRKSRC}/${file}.cc -o ${WRKSRC}/${file}.o
|
|
|
|
.endfor
|
|
|
|
${CXX} ${LDFLAGS} -L${WRKSRC}/ ${WRKSRC}/*.o -o ${WRKSRC}/netwalker
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/netwalker ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/netwalker.1 ${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${CP} ${WRKSRC}/help/* ${PREFIX}/share/netwalker-ircc
|
|
|
|
|
2007-10-03 23:04:44 +00:00
|
|
|
.include <bsd.port.mk>
|