mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 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
|
|
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= Configure
|
|
CONFLICTS= iroffer-lamm-1.* iroffer-dinoex-3.*
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|cctype="gcc"|cctype="${CC}"|' \
|
|
${WRKSRC}/Configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${PREFIX}/bin/
|
|
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${PREFIX}/bin/
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${DOCSDIR}/
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dynip.sh ${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/iroffer.cron ${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/sample.config ${EXAMPLESDIR}/
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|