aboutsummaryrefslogtreecommitdiff
path: root/irc/ii/Makefile
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/ii/Makefile
parent48d1d68621e70a2cdc72eab825e6f3f8bd71477e (diff)
downloadports-4787fc870e718db9268336aea99ca7b8b6eb34f9.tar.gz
ports-4787fc870e718db9268336aea99ca7b8b6eb34f9.zip
Notes
Diffstat (limited to 'irc/ii/Makefile')
-rw-r--r--irc/ii/Makefile38
1 files changed, 16 insertions, 22 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>