Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= cgdb |
8 |
PORTNAME= cgdb |
9 |
PORTVERSION= 0.5.3 |
9 |
PORTVERSION= 0.6.2 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 14-35
Link Here
|
14 |
MAINTAINER= gslin@gslin.org |
14 |
MAINTAINER= gslin@gslin.org |
15 |
COMMENT= A curses-based interface to the GNU Debugger |
15 |
COMMENT= A curses-based interface to the GNU Debugger |
16 |
|
16 |
|
17 |
GNU_CONFIGURE= yes |
17 |
LIB_DEPENDS= readline.6:${PORTSDIR}/devel/readline |
18 |
USE_REINPLACE= yes |
|
|
19 |
|
20 |
PLIST_FILES= bin/cgdb |
21 |
|
18 |
|
22 |
.include <bsd.port.pre.mk> |
19 |
MAN1= cgdb.1 |
23 |
|
20 |
|
24 |
.if ${OSVERSION} < 500018 |
21 |
GNU_CONFIGURE= yes |
25 |
# This port requires readline 4.2 or newer, which is only available |
|
|
26 |
# in the base system in FreeBSD 5.x or later. |
27 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline |
28 |
RUN_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline |
29 |
CONFIGURE_ARGS+= --with-readline=${LOCALBASE} |
30 |
.endif |
31 |
|
22 |
|
32 |
post-patch: |
23 |
post-patch: |
33 |
${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure |
24 |
${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure |
34 |
|
25 |
|
35 |
.include <bsd.port.post.mk> |
26 |
.include <bsd.port.mk> |