1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/irc/iroffer/Makefile
2013-12-06 13:43:27 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Donald Burr <dburr@FreeBSD.org>
# $FreeBSD$
PORTNAME= iroffer
PORTVERSION= 1.4.3
CATEGORIES= irc
MASTER_SITES= http://iroffer.org/archive/v1.4/
DISTNAME= iroffer1.4.b03
EXTRACT_SUFX= .tgz
MAINTAINER= dinoex@FreeBSD.org
COMMENT= An IRC "bot" that makes sharing files via DCC extremely easy
LICENSE= GPLv2
CONFLICTS= iroffer-lamm-1.* iroffer-dinoex-3.*
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
.include <bsd.port.options.mk>
post-patch:
${REINPLACE_CMD} -e 's|cctype="gcc"|cctype="${CC}"|' \
${WRKSRC}/Configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${STAGEDIR}${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dynip.sh ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/iroffer.cron ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/sample.config ${STAGEDIR}${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>