aboutsummaryrefslogtreecommitdiffstats
path: root/irc/iroffer
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2015-10-08 12:32:29 +0800
committerdinoex <dinoex@FreeBSD.org>2015-10-08 12:32:29 +0800
commite2ac7036ecba575bac01d8ac7c4c4c6a347a5fcc (patch)
tree1323c231db37bee61d4b4a9a725570b857f88f0b /irc/iroffer
parentf8787ec781bd0efb2f32ba5b32c068beed356200 (diff)
downloadfreebsd-ports-gnome-e2ac7036ecba575bac01d8ac7c4c4c6a347a5fcc.tar.gz
freebsd-ports-gnome-e2ac7036ecba575bac01d8ac7c4c4c6a347a5fcc.tar.zst
freebsd-ports-gnome-e2ac7036ecba575bac01d8ac7c4c4c6a347a5fcc.zip
- cleanup
Diffstat (limited to 'irc/iroffer')
-rw-r--r--irc/iroffer/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/irc/iroffer/Makefile b/irc/iroffer/Makefile
index 7d333d53271f..d992e23f9b90 100644
--- a/irc/iroffer/Makefile
+++ b/irc/iroffer/Makefile
@@ -6,7 +6,6 @@ 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= IRC "bot" that makes sharing files via DCC extremely easy
@@ -15,13 +14,12 @@ LICENSE= GPLv2
CONFLICTS= iroffer-lamm-1.* iroffer-dinoex-3.*
+USES= tar:tgz
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|cctype="gcc"|cctype="${CC}"|' \
${WRKSRC}/Configure
@@ -29,16 +27,16 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/convertxdccfile ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${STAGEDIR}${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/WHATSNEW ${STAGEDIR}${DOCSDIR}/
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+do-install-EXAMPLES-on:
${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>