7974b79e64
Sirc is an Internet Relay Chat programmable client written in perl and C. It has a main perl script that can be run in 'dumb' mode, standalone, and a separate split-screen front end in C, called ssfe.
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/24 11:25:58 reinhard Exp $
|
|
|
|
DISTNAME= sirc-2.211
|
|
CATEGORIES= net
|
|
NEED_VERSION= 1.353
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
HOMEPAGE= http://www.iagora.com/~espel/sirc/
|
|
|
|
MAINTAINER= Peter Valchev <pvalchev@toxiclinux.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
post-patch:
|
|
@sed s!PREFIX.SED!${PREFIX}!g ${FILESDIR}/sirc-script > \
|
|
${WRKSRC}/sirc
|
|
@sed s!PREFIX.SED!${PREFIX}!g ${WRKSRC}/dsirc > \
|
|
${WRKSRC}/dsirc.sed
|
|
@sed s!/usr/local/bin/perl!/usr/bin/perl! ${WRKSRC}/dsirc.sed > \
|
|
${WRKSRC}/dsirc
|
|
@gzip -d ${WRKSRC}/sirc.help.gz
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${WRKSRC}/ssfe.c -o ${WRKSRC}/ssfe -ltermcap
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sirc ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ssfe ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/dsirc ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/sirc
|
|
${INSTALL_DATA} ${WRKSRC}/sirc.help ${PREFIX}/share/sirc
|
|
${INSTALL_DATA} ${WRKSRC}/n0thing.pl ${PREFIX}/share/sirc
|
|
${INSTALL_MAN} ${WRKSRC}/ssfe.1 ${PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/sirc.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|