aboutsummaryrefslogtreecommitdiff
path: root/irc/tircd
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-08-15 01:04:30 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-08-15 01:04:30 +0000
commitf9b6bb72bd478b12951f554e3e87ee3a3ad40716 (patch)
treeb03e7cfe150ed1b6857b68211969a31d1b599c54 /irc/tircd
parent0524788414f29b02c458de14f74d7870a4bd1e97 (diff)
downloadports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.tar.gz
ports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.zip
Notes
Diffstat (limited to 'irc/tircd')
-rw-r--r--irc/tircd/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/irc/tircd/Makefile b/irc/tircd/Makefile
index cfce7ab1274e..4f68518b5f43 100644
--- a/irc/tircd/Makefile
+++ b/irc/tircd/Makefile
@@ -24,14 +24,15 @@ RUN_DEPENDS= p5-JSON-Any>=0:${PORTSDIR}/converters/p5-JSON-Any \
p5-POE>=0:${PORTSDIR}/devel/p5-POE \
p5-POE-Filter-IRCD>=0:${PORTSDIR}/irc/p5-POE-Filter-IRCD
-WRKSRC= ${WRKDIR}/tircd
-
USE_PERL5= yes
NO_BUILD= yes
MAN1= tircd.1
USE_RC_SUBR= tircd
+post-extract:
+ @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+
post-patch:
${REINPLACE_CMD} -e '1s,^#!/usr/bin/perl,#!${PREFIX}/bin/perl,' \
-e 's,/etc/tircd.cfg,${PREFIX}/etc/tircd.cfg,g' \