Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= bittwist |
8 |
PORTNAME= bittwist |
9 |
PORTVERSION= 0.7 |
9 |
PORTVERSION= 0.72 |
10 |
CATEGORIES= net |
10 |
CATEGORIES= net |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 19-35
Link Here
|
19 |
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" |
19 |
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" |
20 |
|
20 |
|
21 |
MAN1= bittwist.1 bittwistb.1 bittwiste.1 |
21 |
MAN1= bittwist.1 bittwistb.1 bittwiste.1 |
|
|
22 |
PLIST_FILES= bin/bittwist bin/bittwistb bin/bittwiste |
22 |
|
23 |
|
23 |
.include <bsd.port.pre.mk> |
24 |
.include <bsd.port.pre.mk> |
24 |
|
25 |
|
25 |
# 5.3 is the first version to have round(). |
26 |
.if ${OSVERSION} < 600032 |
26 |
.if ${OSVERSION} < 503001 |
|
|
27 |
IGNORE= does not build under 5.2 and older (no round()) |
28 |
.endif |
29 |
|
30 |
# 5.3 and up do not have a new enough libpcap but does have round(). |
31 |
# 6.0 and up have both a new enough libpcap and round(). |
32 |
.if ${OSVERSION} >= 503001 && ${OSVERSION} < 600100 |
33 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap |
27 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap |
34 |
.endif |
28 |
.endif |
35 |
|
29 |
|