2004-02-20 18:51:29 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2004/02/20 23:51:29 pvalchev Exp $
|
2001-03-24 07:51:47 -05:00
|
|
|
|
2001-05-09 19:26:16 -04:00
|
|
|
COMMENT= "programmable small perl irc client"
|
2001-02-24 06:25:58 -05:00
|
|
|
|
|
|
|
DISTNAME= sirc-2.211
|
|
|
|
CATEGORIES= net
|
2002-10-27 20:38:44 -05:00
|
|
|
|
2004-02-20 18:51:29 -05:00
|
|
|
MASTER_SITES= http://www.iagora.com/~espel/sirc/
|
|
|
|
MASTER_SITES0= ${MASTER_SITES}scripts/
|
2001-06-24 21:02:41 -04:00
|
|
|
|
|
|
|
PATCHFILES= ssfe.diff:0
|
2001-02-24 06:25:58 -05:00
|
|
|
|
2004-02-20 18:51:29 -05:00
|
|
|
HOMEPAGE= http://www.iagora.com/~espel/sirc/sirc.html
|
2001-02-24 06:25:58 -05:00
|
|
|
|
2001-05-09 19:26:16 -04:00
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
2001-02-24 06:25:58 -05:00
|
|
|
|
2004-02-20 18:51:29 -05:00
|
|
|
# GPL
|
2001-02-24 06:25:58 -05:00
|
|
|
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
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2001-02-24 06:25:58 -05:00
|
|
|
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>
|