Index: head/net-p2p/ncdc/Makefile =================================================================== --- head/net-p2p/ncdc/Makefile (revision 288060) +++ head/net-p2p/ncdc/Makefile (revision 288061) @@ -1,32 +1,49 @@ # New ports collection makefile for: ncdc # Date created: 28 November 2011 # Whom: Dmitriy Limonov # # $FreeBSD$ # PORTNAME= ncdc -PORTVERSION= 1.5 +PORTVERSION= 1.6 CATEGORIES= net-p2p MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ http://dev.yorhel.nl/download/ MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= earl1k@mail.ru COMMENT= Lightweight direct connect client with ncurses interface -LIB_DEPENDS= gdbm:${PORTSDIR}/databases/gdbm \ +LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 \ xml2:${PORTSDIR}/textproc/libxml2 +OPTIONS= GDBM "Build ncdc-db-upgrade" off + USE_GNOME= glib20 USE_GMAKE= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile -MAN1= ncdc.1 ncdc-gen-cert.1 +MAN1= ncdc.1 ncdc-gen-cert.1 ncdc-db-upgrade.1 PLIST_FILES= bin/ncdc bin/ncdc-gen-cert #force base compiler,linker flags to avoid linking to ncurses from ports CFLAGS+= -I/usr/include -I${LOCALBASE}/include LDFLAGS+= -L/usr/lib -L${LOCALBASE}/lib + +.include + +.if defined(WITH_GDBM) +LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm +PLIST_FILES+= bin/ncdc-db-upgrade +.else +post-patch: + @${REINPLACE_CMD} \ + -e '/#include /d' \ + ${WRKSRC}/src/fl_local.c + @${REINPLACE_CMD} \ + -e '/have_gdbm=yes/d' \ + ${WRKSRC}/configure +.endif .include Property changes on: head/net-p2p/ncdc/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/net-p2p/ncdc/distinfo =================================================================== --- head/net-p2p/ncdc/distinfo (revision 288060) +++ head/net-p2p/ncdc/distinfo (revision 288061) @@ -1,2 +1,2 @@ -SHA256 (ncdc-1.5.tar.gz) = d6bd0e6a9e4852a4bbf4249954d65863b1f9dcc0064eb9923f3a1e95e9c1fd03 -SIZE (ncdc-1.5.tar.gz) = 282706 +SHA256 (ncdc-1.6.tar.gz) = 13d898455c5892364ff0769be76cc5fb188a801b08ba3a646e0ecf217db6ddfc +SIZE (ncdc-1.6.tar.gz) = 304918 Property changes on: head/net-p2p/ncdc/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property