aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/ncdc/Makefile
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-01 06:59:54 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-01 06:59:54 +0000
commit0d0bc00d12ae817d8a827c4ad1af62c90b30b9f7 (patch)
tree40a19c8fd9016b6340255d2a118391b8b32e2123 /net-p2p/ncdc/Makefile
parente4b56d0799bb9128dc33e4cc590968a0fde7df8b (diff)
- update to 1.13
while here: - convert to optionsng - trim Makefile header PR: 172169 Submitted by: Aragon Gouveia <aragon at phat.za dot net> Approved by: EARL <earl1k at mail dot ru> (maintainer)
Notes
Notes: svn path=/head/; revision=305094
Diffstat (limited to 'net-p2p/ncdc/Makefile')
-rw-r--r--net-p2p/ncdc/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/net-p2p/ncdc/Makefile b/net-p2p/ncdc/Makefile
index cffb8505c9b1..1d4904ce3d65 100644
--- a/net-p2p/ncdc/Makefile
+++ b/net-p2p/ncdc/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: ncdc
-# Date created: 28 November 2011
-# Whom: Dmitriy Limonov
-#
+# Created by: Dmitriy Limonov
# $FreeBSD$
-#
PORTNAME= ncdc
-PORTVERSION= 1.12
+PORTVERSION= 1.13
CATEGORIES= net-p2p
MASTER_SITES= SF \
http://dev.yorhel.nl/download/
@@ -19,7 +15,8 @@ LIB_DEPENDS= sqlite3:${PORTSDIR}/databases/sqlite3 \
xml2:${PORTSDIR}/textproc/libxml2 \
gnutls:${PORTSDIR}/security/gnutls
-OPTIONS= GDBM "Build ncdc-db-upgrade" off
+OPTIONS_DEFINE= GDBM
+GDBM_DESC= Build ncdc-db-upgrade
USE_GNOME= glib20
USE_GMAKE= yes
@@ -33,7 +30,7 @@ LDFLAGS+= -L/usr/lib -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
-.if defined(WITH_GDBM)
+.if ${PORT_OPTIONS:MGDBM}
CONFIGURE_ARGS+=--enable-db-upgrade
LIB_DEPENDS+= gdbm:${PORTSDIR}/databases/gdbm
PLIST_FILES+= bin/ncdc-db-upgrade