Lines 13-27
MASTER_SITES= http://s-tech.elsat.net.pl
Link Here
|
13 |
MAINTAINER= mich@FreeBSD.org |
13 |
MAINTAINER= mich@FreeBSD.org |
14 |
COMMENT= A traffic analysis command-line utility |
14 |
COMMENT= A traffic analysis command-line utility |
15 |
|
15 |
|
|
|
16 |
MAKE_ARGS= ${MAKE_ENV} |
16 |
LDFLAGS+= -lcompat |
17 |
LDFLAGS+= -lcompat |
17 |
CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH |
18 |
CFLAGS+= -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH |
18 |
|
19 |
|
19 |
post-patch: |
|
|
20 |
@${REINPLACE_CMD} -e \ |
21 |
's|^CFLAGS.*$$|CFLAGS=${CFLAGS}|g ; \ |
22 |
s|^LDFLAGS.*$$|LDFLAGS=${LDFLAGS}|g ; \ |
23 |
s|gcc|${CC}|g' ${WRKSRC}/Makefile |
24 |
|
25 |
do-install: |
20 |
do-install: |
26 |
${INSTALL_SCRIPT} ${WRKSRC}/rate ${PREFIX}/bin/rate |
21 |
${INSTALL_SCRIPT} ${WRKSRC}/rate ${PREFIX}/bin/rate |
27 |
${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${PREFIX}/man/man1 |
22 |
${INSTALL_MAN} ${WRKSRC}/doc/rate.1 ${PREFIX}/man/man1 |