diff options
author | Doug Barton <dougb@FreeBSD.org> | 2012-08-15 01:04:30 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2012-08-15 01:04:30 +0000 |
commit | f9b6bb72bd478b12951f554e3e87ee3a3ad40716 (patch) | |
tree | b03e7cfe150ed1b6857b68211969a31d1b599c54 /irc | |
parent | 0524788414f29b02c458de14f74d7870a4bd1e97 (diff) | |
download | ports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.tar.gz ports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.zip |
Notes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/inspircd12/Makefile | 4 | ||||
-rw-r--r-- | irc/tircd/Makefile | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/irc/inspircd12/Makefile b/irc/inspircd12/Makefile index fe7ea00af27a..0570403b5487 100644 --- a/irc/inspircd12/Makefile +++ b/irc/inspircd12/Makefile @@ -18,7 +18,6 @@ CONFLICTS= inspircd-2.* LATEST_LINK= inspircd12 -WRKSRC= ${WRKDIR}/inspircd USE_BZIP2= yes USE_LDCONFIG= ${PREFIX}/lib/inspircd USE_RC_SUBR= inspircd @@ -178,6 +177,9 @@ PLIST_SUB+= ZIPLINK="@comment " CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +post-extract: + @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC} + post-patch: ${REINPLACE_CMD} -e '/INSTMODE/s|700|755|;/install -d.*BINPATH/d'\ -e 's,FLAGS = @FLAGS@,FLAGS = ${CXXFLAGS} @FLAGS@,' \ 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' \ |