Lines 7-14
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= ctrlproxy |
9 |
PORTNAME= ctrlproxy |
10 |
PORTVERSION= 2.6 |
10 |
PORTVERSION= 2.6.1 |
11 |
PORTREVISION= 2 |
|
|
12 |
CATEGORIES= irc |
11 |
CATEGORIES= irc |
13 |
MASTER_SITES= http://jelmer.vernstok.nl/ctrlproxy/ |
12 |
MASTER_SITES= http://jelmer.vernstok.nl/ctrlproxy/ |
14 |
|
13 |
|
Lines 19-32
Link Here
|
19 |
pcre.0:${PORTSDIR}/devel/pcre \ |
18 |
pcre.0:${PORTSDIR}/devel/pcre \ |
20 |
tdb.1:${PORTSDIR}/databases/tdb |
19 |
tdb.1:${PORTSDIR}/databases/tdb |
21 |
|
20 |
|
22 |
USE_REINPLACE= yes |
|
|
23 |
USE_OPENSSL= yes |
21 |
USE_OPENSSL= yes |
24 |
USE_GNOME= libxml2 glib20 |
22 |
USE_GNOME= glib20 libxml2 |
25 |
GNU_CONFIGURE= yes |
|
|
26 |
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ |
27 |
LIBS="-L${LOCALBASE}/lib" |
28 |
USE_GMAKE= yes |
23 |
USE_GMAKE= yes |
29 |
MAKE_ENV= LDFLAGS="-L${LOCALBASE}/lib" |
24 |
GNU_CONFIGURE= yes |
|
|
25 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
30 |
|
26 |
|
31 |
MAN1= ctrlproxy.1 |
27 |
MAN1= ctrlproxy.1 |
32 |
MAN5= ctrlproxyrc.5 |
28 |
MAN5= ctrlproxyrc.5 |
Lines 37-44
Link Here
|
37 |
repl_highlight.7ctrlproxy repl_none.7ctrlproxy repl_simple.7ctrlproxy \ |
33 |
repl_highlight.7ctrlproxy repl_none.7ctrlproxy repl_simple.7ctrlproxy \ |
38 |
socket.7ctrlproxy stats.7ctrlproxy strip.7ctrlproxy |
34 |
socket.7ctrlproxy stats.7ctrlproxy strip.7ctrlproxy |
39 |
|
35 |
|
40 |
post-patch: |
36 |
CPPFLAGS= -I${LOCALBASE}/include |
41 |
@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${GREP} -lR "malloc\.h" | \ |
37 |
LDFLAGS= -L${LOCALBASE}/lib |
42 |
${XARGS} ${REINPLACE_CMD} -e "s@malloc.h@stdlib.h@g" |
38 |
|
|
|
39 |
post-install: |
40 |
.if !defined(NOPORTDOC) |
41 |
@${MKDIR} ${DOCSDIR} |
42 |
.for file in AUTHORS TODO doc/ctrlproxy.html doc/ctrlproxy.pdf |
43 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
44 |
.endfor |
45 |
.endif |
43 |
|
46 |
|
44 |
.include <bsd.port.mk> |
47 |
.include <bsd.port.mk> |