Lines 8-29
Link Here
|
8 |
|
8 |
|
9 |
PORTNAME= slmon |
9 |
PORTNAME= slmon |
10 |
PORTVERSION= 0.5.11 |
10 |
PORTVERSION= 0.5.11 |
|
|
11 |
PORTREVISION= 1 |
11 |
CATEGORIES= sysutils |
12 |
CATEGORIES= sysutils |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
|
15 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
|
17 |
|
17 |
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext \ |
18 |
LIB_DEPENDS= gtop-2.0.2:${PORTSDIR}/devel/libgtop2 \ |
18 |
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ |
|
|
19 |
gtop.1:${PORTSDIR}/devel/libgtop \ |
20 |
slang.1:${PORTSDIR}/devel/libslang |
19 |
slang.1:${PORTSDIR}/devel/libslang |
21 |
|
20 |
|
22 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
23 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
25 |
LDFLAGS="-L${LOCALBASE}/lib -lncurses -lintl -lgnugetopt" |
24 |
|
26 |
MAN1= slmon.1 |
25 |
MAN1= slmon.1 |
|
|
26 |
|
27 |
CPPFLAGS= -I${LOCALBASE}/include |
28 |
LDFLAGS= -L${LOCALBASE}/lib -lncurses |
29 |
|
30 |
.if !exists(/usr/include/getopt.h) |
31 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
32 |
LDFLAGS+= -lgnugetopt |
33 |
.endif |
27 |
|
34 |
|
28 |
.include <bsd.port.pre.mk> |
35 |
.include <bsd.port.pre.mk> |