aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-07 10:00:57 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-07 10:00:57 +0000
commita1a4f024d41775509abb3bf5a3c543c09fa87e00 (patch)
treeaf90afa2634ab52c1c74474b6f24b803e1bc52de /irc
parentafaf02a2c18b5dee868abe7a1276b2a858143052 (diff)
downloadports-a1a4f024d41775509abb3bf5a3c543c09fa87e00.tar.gz
ports-a1a4f024d41775509abb3bf5a3c543c09fa87e00.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/keitairc/Makefile17
-rw-r--r--irc/keitairc2/Makefile23
2 files changed, 17 insertions, 23 deletions
diff --git a/irc/keitairc/Makefile b/irc/keitairc/Makefile
index 5fe093445b48..378c3827f0cb 100644
--- a/irc/keitairc/Makefile
+++ b/irc/keitairc/Makefile
@@ -1,16 +1,12 @@
-# New ports collection makefile for: keitairc
-# Date created: 11 Nov 2005
-# Whom: Makoto Matsushita <matusita@FreeBSD.ORG>
-#
+# Created by: Makoto Matsushita <matusita@FreeBSD.ORG>
# $FreeBSD$
-#
PORTNAME= keitairc
PORTVERSION= 1.33
PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
-MASTER_SITE_SUBDIR= ${PORTNAME}/27571
+MASTER_SITE_SUBDIR= ${PORTNAME}/27571
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= #empty
@@ -25,9 +21,8 @@ RUN_DEPENDS= ja-p5-Unicode-Japanese>=0:${PORTSDIR}/japanese/p5-Unicode-Japanese
p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon \
p5-AppConfig>=0:${PORTSDIR}/devel/p5-AppConfig
-PLIST_FILES= bin/keitairc
-
CONFLICTS= keitairc-2.*
+
NO_BUILD= YES
NO_LATEST_LINK= YES
NO_WRKSUBDIR= YES
@@ -35,10 +30,12 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= -p
EXTRACT_AFTER_ARGS= ${WRKDIR}
+USES= shebangfix
USE_PERL5= yes
-post-patch:
- ${REINPLACE_CMD} -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc
+SHEBANG_FILES= keitairc
+
+PLIST_FILES= bin/keitairc
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin
diff --git a/irc/keitairc2/Makefile b/irc/keitairc2/Makefile
index 55a93db7daf9..c8c709f526e1 100644
--- a/irc/keitairc2/Makefile
+++ b/irc/keitairc2/Makefile
@@ -1,19 +1,11 @@
-# New ports collection makefile for: keitairc2
-# Date created: 18 Jan 2008
-# Whom: Makoto Matsushita <matusita@FreeBSD.ORG>
-#
+# Created by: Makoto Matsushita <matusita@FreeBSD.ORG>
# $FreeBSD$
-#
PORTNAME= keitairc
PORTVERSION= 2.0
-#PORTREVISION= 1
CATEGORIES= irc
MASTER_SITES= SFJP
MASTER_SITE_SUBDIR= ${PORTNAME}/47485
-#DISTNAME= keitairc-2.0
-
-#PATCH_SITES= http://home.jp.FreeBSD.org/~matusita/keitairc2/
MAINTAINER= ports@FreeBSD.org
COMMENT= IRC proxy for mobilephone that have a web interface
@@ -27,17 +19,22 @@ RUN_DEPENDS= p5-POE-Component-IRC>=0:${PORTSDIR}/irc/p5-POE-Component-IRC \
p5-AppConfig>=0:${PORTSDIR}/devel/p5-AppConfig
CONFLICTS= keitairc-1.*
-NO_BUILD= yes
+
+USES= shebangfix
USE_PERL5= yes
+NO_BUILD= yes
+
+SHEBANG_FILES= keitairc
post-extract:
${FIND} ${WRKSRC} -name .cvsignore | ${XARGS} ${RM} -rf
post-patch:
${FIND} ${WRKSRC} -name '*.orig' | ${XARGS} ${RM} -rf
- ${REINPLACE_CMD} -i '' -e "s,^#!/usr/bin/perl$$,#!${PERL}," ${WRKSRC}/keitairc
- ${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib," ${WRKSRC}/keitairc
- ${REINPLACE_CMD} -i '' -e "s,__KEITAIRC_DATA_DIR__,${DATADIR}/lib," ${WRKSRC}/lib/Keitairc/Config.pm
+ ${REINPLACE_CMD} -i '' -e "s,/usr/share/keitairc/lib,${DATADIR}/lib," \
+ ${WRKSRC}/keitairc
+ ${REINPLACE_CMD} -i '' -e "s,__KEITAIRC_DATA_DIR__,${DATADIR}/lib," \
+ ${WRKSRC}/lib/Keitairc/Config.pm
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keitairc ${PREFIX}/bin