2007-05-01 22:42:31 +02:00
|
|
|
# New ports collection makefile for: psybnc
|
|
|
|
# Date created: 24 November 2002
|
|
|
|
# Whom: Mina Naguib <webmaster@topfx.com>
|
2003-02-06 02:53:07 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= psybnc
|
2007-05-01 22:42:31 +02:00
|
|
|
DISTVERSION= 2.3.2-7
|
2008-02-27 21:21:21 +01:00
|
|
|
PORTREVISION= 1
|
2006-12-16 14:07:25 +01:00
|
|
|
CATEGORIES= irc ipv6
|
2007-05-01 22:42:31 +02:00
|
|
|
MASTER_SITES= http://www.psybnc.at/download/beta/ CENKES
|
|
|
|
DISTNAME= psyBNC-${DISTVERSION}
|
2003-02-06 02:53:07 +01:00
|
|
|
|
2009-09-19 06:19:56 +02:00
|
|
|
MAINTAINER= chris@officialunix.com
|
2007-05-01 22:42:31 +02:00
|
|
|
COMMENT= Extremely powerful IRC bouncer
|
2003-02-06 02:53:07 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/psybnc
|
|
|
|
PSYBASE= ${PREFIX}/psybnc
|
2007-05-01 22:42:31 +02:00
|
|
|
MAKE_ARGS= PSYBASE=${PSYBASE}
|
2006-02-08 15:37:58 +01:00
|
|
|
IS_INTERACTIVE= yes
|
2003-02-06 02:53:07 +01:00
|
|
|
|
2007-09-15 04:37:33 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-02-06 02:53:07 +01:00
|
|
|
post-patch:
|
2007-05-01 22:42:31 +02:00
|
|
|
@${REINPLACE_CMD} -e 's#=help/#=${PSYBASE}/help/#' ${WRKSRC}/lang/*
|
2003-02-06 02:53:07 +01:00
|
|
|
|
|
|
|
do-configure:
|
2007-05-01 22:42:31 +02:00
|
|
|
@cd ${WRKSRC} && make menuconfig
|
2003-02-06 02:53:07 +01:00
|
|
|
|
|
|
|
do-install:
|
2007-05-01 22:42:31 +02:00
|
|
|
@${INSTALL} -d ${PSYBASE}/lang/ ${PSYBASE}/key/ ${PSYBASE}/help/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lang/INFO ${PSYBASE}/lang/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lang/*.lng ${PSYBASE}/lang/
|
|
|
|
@if [ -f ${WRKSRC}/key/psybnc.cert.pem ]; then ${INSTALL_DATA} ${WRKSRC}/key/psybnc.cert.pem ${PSYBASE}/key/; fi
|
|
|
|
@if [ -f ${WRKSRC}/key/psybnc.key.pem ]; then ${INSTALL_DATA} ${WRKSRC}/key/psybnc.key.pem ${PSYBASE}/key/; fi
|
|
|
|
@if [ -f ${WRKSRC}/key/psybnc.req.pem ]; then ${INSTALL_DATA} ${WRKSRC}/key/psybnc.req.pem ${PSYBASE}/key/; fi
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/help/*.TXT ${PSYBASE}/help/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/help/*.DEU ${PSYBASE}/help/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/help/*.ITA ${PSYBASE}/help/
|
2003-02-06 02:53:07 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/psybnc ${PREFIX}/bin/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/psybnc.conf ${PREFIX}/etc/psybnc.conf.sample
|
|
|
|
|
2007-09-15 04:37:33 +02:00
|
|
|
.include <bsd.port.post.mk>
|