Lines 1-21
Link Here
|
1 |
# Created by: Jimbo Bahooli <griffin@blackhole.iceworld.org> |
1 |
# Created by: Jimbo Bahooli <griffin@blackhole.iceworld.org> |
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= BitchX |
4 |
PORTNAME= bitchx |
5 |
DISTVERSION= 1.2-final |
5 |
DISTVERSION= 1.2.1 |
6 |
PORTREVISION?= 3 |
6 |
PORTREVISION?= 3 |
7 |
PORTEPOCH= 1 |
7 |
PORTEPOCH= 1 |
8 |
CATEGORIES+= irc |
8 |
CATEGORIES+= irc |
9 |
MASTER_SITES= http://bitchx.ca/ |
9 |
MASTER_SITES= SF/${PORTNAME}/ircii-pana/${PORTNAME}-${DISTVERSION} |
10 |
|
10 |
|
11 |
MAINTAINER?= dan.mashal@gmail.com |
11 |
MAINTAINER?= dan.mashal@gmail.com |
12 |
# Co-maintainer: Chris Petrik <c.petrik.sosa@gmail.com> (PR/181627) |
12 |
# Co-maintainer: Chris Petrik <chris@bsdjunk.com> (PR/181627) |
13 |
COMMENT?= Feature-rich scriptable IRC client |
13 |
COMMENT?= Feature-rich scriptable IRC client |
14 |
|
14 |
|
15 |
WRKSRC= ${WRKDIR}/${DISTNAME:C,-final$,,} |
15 |
USES= gmake |
16 |
|
|
|
17 |
USES= gmake perl5 |
18 |
USE_GCC= yes # PR: 186425 |
19 |
GNU_CONFIGURE= yes |
16 |
GNU_CONFIGURE= yes |
20 |
CONFIGURE_ARGS+=--exec-prefix="${PREFIX}/share" \ |
17 |
CONFIGURE_ARGS+=--exec-prefix="${PREFIX}/share" \ |
21 |
--bindir="${PREFIX}/bin" \ |
18 |
--bindir="${PREFIX}/bin" \ |
Lines 28-38
Link Here
|
28 |
PORTDOCS= * |
25 |
PORTDOCS= * |
29 |
DATADIR= ${PREFIX}/share/bx |
26 |
DATADIR= ${PREFIX}/share/bx |
30 |
|
27 |
|
31 |
OPTIONS_DEFINE= IPV6 LATIN PLUGINS SSL DOCS |
28 |
OPTIONS_DEFINE= IPV6 LATIN PLUGINS SSL DOCS HEBREW TOGGLES |
32 |
|
29 |
|
33 |
LATIN_DESC= Recommended for ISO-8859-1 display |
30 |
LATIN_DESC= Recommended for ISO-8859-1 display |
34 |
PLUGINS_DESC= Build a handful of BitchX plugins |
31 |
PLUGINS_DESC= Build a handful of BitchX plugins |
35 |
|
32 |
HEBREW_DESC= Add support for hebrew |
|
|
33 |
TOGGLES_DESC= Disable away,kick_ops,auto_rejoin |
36 |
OPTIONS_DEFAULT=PLUGINS SSL |
34 |
OPTIONS_DEFAULT=PLUGINS SSL |
37 |
|
35 |
|
38 |
MAKE_JOBS_UNSAFE= yes |
36 |
MAKE_JOBS_UNSAFE= yes |
Lines 66-76
Link Here
|
66 |
${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|' \ |
64 |
${REINPLACE_CMD} -e 's|#undef LATIN1|#define LATIN1|' \ |
67 |
${WRKSRC}/include/config.h |
65 |
${WRKSRC}/include/config.h |
68 |
.endif |
66 |
.endif |
|
|
67 |
.if ${PORT_OPTIONS:MHEBREW} |
68 |
${REINPLACE_CMD} -e 's|#undef WANT_HEBREW|#define WANT_HEBREW|' \ |
69 |
${WRKSRC}/include/config.h |
70 |
.endif |
71 |
.if ${PORT_OPTIONS:MTOGGLES} |
72 |
${REINPLACE_CMD} -e 's|DEFAULT_AUTO_AWAY ON|DEFAULT_AUTO_AWAY OFF|' \ |
73 |
${WRKSRC}/include/config.h |
74 |
${REINPLACE_CMD} -e 's|DEFAULT_KICK_OPS ON|DEFAULT_KICK_OPS OFF|' \ |
75 |
${WRKSRC}/include/config.h |
76 |
${REINPLACE_CMD} -e 's|DEFAULT_AUTO_REJOIN ON|DEFAULT_AUTO_REJOIN OFF|' \ |
77 |
${WRKSRC}/include/config.h |
78 |
.endif |
69 |
${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in |
79 |
${REINPLACE_CMD} -e 's|bzip2|true|g' ${WRKSRC}/Makefile.in |
70 |
|
80 |
|
71 |
post-install: |
|
|
72 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/BitchX |
73 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/scr-bx |
74 |
.if ${PORT_OPTIONS:MDOCS} |
81 |
.if ${PORT_OPTIONS:MDOCS} |
75 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
82 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
76 |
cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
83 |
cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} |
Lines 78-83
Link Here
|
78 |
|
85 |
|
79 |
# Ensure that `@dirrm share/bx' will be appended last (after PORTDOCS stuff) |
86 |
# Ensure that `@dirrm share/bx' will be appended last (after PORTDOCS stuff) |
80 |
add-plist-post: |
87 |
add-plist-post: |
81 |
@${ECHO_CMD} "@dirrm ${DATADIR_REL}" >> ${TMPPLIST} |
88 |
@${ECHO_CMD} "@dir ${DATADIR_REL}" >> ${TMPPLIST} |
82 |
|
89 |
|
83 |
.include <bsd.port.mk> |
90 |
.include <bsd.port.mk> |