Lines 8-33
Link Here
|
8 |
# |
8 |
# |
9 |
|
9 |
|
10 |
PORTNAME= netrik |
10 |
PORTNAME= netrik |
11 |
PORTVERSION= 1.2.1 |
11 |
PORTVERSION= 1.8.0 |
12 |
CATEGORIES= www |
12 |
CATEGORIES= www |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
15 |
|
15 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= sysadmin@alexdupre.com |
17 |
COMMENT= A text web browser, very ambitious, in active development |
17 |
COMMENT= A text web browser, very ambitious, in active development |
18 |
|
18 |
|
|
|
19 |
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget |
20 |
|
19 |
USE_GMAKE= yes |
21 |
USE_GMAKE= yes |
20 |
GNU_CONFIGURE= yes |
22 |
GNU_CONFIGURE= yes |
21 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
23 |
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
22 |
CONFIGURE_ENV= CPPFLAGS="${CPPLAGS}" LDFLAGS="${LDFLAGS}" |
|
|
23 |
|
24 |
|
24 |
MAN1= netrik.1 |
25 |
MAN1= netrik.1 |
25 |
MAN5= netrikrc.5 |
26 |
MAN5= netrikrc.5 |
26 |
|
27 |
|
27 |
.if !exists(/usr/include/getopt.h) |
28 |
.include <bsd.port.pre.mk> |
|
|
29 |
|
30 |
.if ${OSVERSION} < 500000 |
28 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
31 |
LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt |
29 |
CPPFLAGS+= -I${LOCALBASE}/include |
32 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
30 |
LDFLAGS= -L${LOCALBASE}/lib -lgnugetopt |
33 |
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" |
|
|
34 |
.endif |
35 |
.if ${OSVERSION} < 400000 |
36 |
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses |
31 |
.endif |
37 |
.endif |
32 |
|
38 |
|
33 |
.include <bsd.port.mk> |
39 |
.include <bsd.port.post.mk> |