mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: Makoto Matsushita <matusita@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= keitairc
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= irc
|
|
MASTER_SITES= SFJP/${PORTNAME}/47485
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= IRC proxy for mobilephone that have a web interface
|
|
|
|
RUN_DEPENDS= p5-POE-Component-IRC>=0:${PORTSDIR}/irc/p5-POE-Component-IRC \
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
|
|
p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template \
|
|
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
|
|
p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon \
|
|
p5-AppConfig>=0:${PORTSDIR}/devel/p5-AppConfig
|
|
|
|
CONFLICTS= keitairc-1.*
|
|
|
|
USES= shebangfix perl5
|
|
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/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 ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} "doc etc lib" ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|