aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2013-01-21 20:08:05 +0000
committerSofian Brabez <sbz@FreeBSD.org>2013-01-21 20:08:05 +0000
commit4787fc870e718db9268336aea99ca7b8b6eb34f9 (patch)
tree31cb179959f9efbab2695f86ff90d58e27a66402 /irc
parent48d1d68621e70a2cdc72eab825e6f3f8bd71477e (diff)
downloadports-4787fc870e718db9268336aea99ca7b8b6eb34f9.tar.gz
ports-4787fc870e718db9268336aea99ca7b8b6eb34f9.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/ii/Makefile38
-rw-r--r--irc/ii/distinfo4
-rw-r--r--irc/ii/pkg-descr2
3 files changed, 19 insertions, 25 deletions
diff --git a/irc/ii/Makefile b/irc/ii/Makefile
index f9efed7a11b8..810a5ae53ee1 100644
--- a/irc/ii/Makefile
+++ b/irc/ii/Makefile
@@ -1,41 +1,35 @@
-# New ports collection makefile for: ii
-# Date created: July 13, 2008
-# Whom: Julien Laffaye <kimelto@gmail.com>
-#
+# Created by: Julien Laffaye <kimelto@gmail.com>
# $FreeBSD$
-#
PORTNAME= ii
-PORTVERSION= 1.6
+PORTVERSION= 1.7
CATEGORIES= irc
MASTER_SITES= http://dl.suckless.org/tools/ \
- http://laffaye.free.fr/distfiles/
+ LOCAL/sbz
-MAINTAINER= jlaffaye@FreeBSD.org
-COMMENT= A minimalist FIFO and filesystem-based IRC client
+MAINTAINER= sbz@FreeBSD.org
+COMMENT= Minimalist FIFO and filesystem-based IRC client
LICENSE= MIT
-MAN1= ii.1
-PLIST_FILES= bin/ii
-PORTDOCS= CHANGES README FAQ
+MAN1= ${PORTNAME}.1
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= CHANGES FAQ README
PORTEXAMPLES= query.sh
MAKE_ARGS= -E CC
+.include <bsd.port.options.mk>
+
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/ii ${PREFIX}/bin
- @${INSTALL_MAN} ${WRKSRC}/ii.1 ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for DOCFILE in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR}
-.endfor
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-.if !defined(NOPORTEXAMPLES)
- @${ECHO_MSG} "installing additional examples to ${EXAMPLESDIR}"
+.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/query.sh ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/irc/ii/distinfo b/irc/ii/distinfo
index cd11b03c9bda..ccd97536d3eb 100644
--- a/irc/ii/distinfo
+++ b/irc/ii/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ii-1.6.tar.gz) = 794fa639b253b4b332fa80e76cde782d9dae021dfaf35a207334c553d962cc29
-SIZE (ii-1.6.tar.gz) = 9970
+SHA256 (ii-1.7.tar.gz) = 3a72ac6606d5560b625c062c71f135820e2214fed098e6d624fc40632dc7cc9c
+SIZE (ii-1.7.tar.gz) = 10174
diff --git a/irc/ii/pkg-descr b/irc/ii/pkg-descr
index 46b1af2efd77..0ded67826dd6 100644
--- a/irc/ii/pkg-descr
+++ b/irc/ii/pkg-descr
@@ -6,4 +6,4 @@ contain the server messages. For every channel and every nick name there
are related in and out files created. This allows IRC communication from
command line and adheres to the Unix philosophy.
-WWW: http://tools.suckless.org/ii/
+WWW: http://tools.suckless.org/ii/