Lines 1-7
Link Here
|
1 |
# $FreeBSD: head/devel/newt/Makefile 412346 2016-04-01 14:00:51Z mat $ |
1 |
# $FreeBSD: head/devel/newt/Makefile 412346 2016-04-01 14:00:51Z mat $ |
2 |
|
2 |
|
3 |
PORTNAME= newt |
3 |
PORTNAME= newt |
4 |
PORTVERSION= 0.52.18 |
4 |
PORTVERSION= 0.52.19 |
5 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
6 |
MASTER_SITES= https://fedorahosted.org/releases/n/e/newt/ |
6 |
MASTER_SITES= https://fedorahosted.org/releases/n/e/newt/ |
7 |
|
7 |
|
Lines 14-27
Link Here
|
14 |
LIB_DEPENDS= libslang.so:devel/libslang2 \ |
14 |
LIB_DEPENDS= libslang.so:devel/libslang2 \ |
15 |
libpopt.so:devel/popt |
15 |
libpopt.so:devel/popt |
16 |
|
16 |
|
17 |
USES= gmake ncurses |
17 |
USES= gmake |
18 |
GNU_CONFIGURE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
MAKE_ENV= PCFLAGS="${CFLAGS}" |
19 |
MAKE_ENV= PCFLAGS="${CFLAGS}" |
20 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
21 |
MAKE_JOBS_UNSAFE= yes |
21 |
MAKE_JOBS_UNSAFE= yes |
22 |
|
22 |
|
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
23 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
LDFLAGS+= -L${LOCALBASE}/lib -lncurses |
24 |
LDFLAGS+= -L${LOCALBASE}/lib -lcurses |
25 |
|
25 |
|
26 |
PLIST_SUB= SOVERSION="${SOVERSION}" \ |
26 |
PLIST_SUB= SOVERSION="${SOVERSION}" \ |
27 |
VERSION="${PORTVERSION}" |
27 |
VERSION="${PORTVERSION}" |
Lines 50-57
Link Here
|
50 |
s|-DUSE_INTERP_RESULT||' ${WRKSRC}/configure |
50 |
s|-DUSE_INTERP_RESULT||' ${WRKSRC}/configure |
51 |
@${REINPLACE_CMD} -e \ |
51 |
@${REINPLACE_CMD} -e \ |
52 |
's|@CPP@|@CC@ -E| ; \ |
52 |
's|@CPP@|@CC@ -E| ; \ |
53 |
s|-I/usr/include/slang|| ; \ |
53 |
s|-D_GNU_SOURCE|| ; \ |
54 |
/^pkgconfigdir/s|=.*|=${PREFIX}/libdata/pkgconfig| ; \ |
54 |
/^pkgconfigdir/s|=.*|= $$(prefix)/libdata/pkgconfig| ; \ |
55 |
s| -g | |g ; \ |
55 |
s| -g | |g ; \ |
56 |
/make -C/s|^|#| ; \ |
56 |
/make -C/s|^|#| ; \ |
57 |
/whiptcl.$$(SOEXT)/s|install|${TRUE}|' ${WRKSRC}/Makefile.in |
57 |
/whiptcl.$$(SOEXT)/s|install|${TRUE}|' ${WRKSRC}/Makefile.in |