2012-10-17 11:07:26 +02:00
|
|
|
# Created by: Attila Nagy <bra@fsn.hu>
|
2002-09-19 22:17:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= jigdo
|
2006-06-05 22:29:27 +02:00
|
|
|
PORTVERSION= 0.7.3
|
2014-08-22 00:50:29 +02:00
|
|
|
PORTREVISION= 8
|
2006-01-30 22:36:28 +01:00
|
|
|
CATEGORIES= net-p2p
|
2013-05-25 14:36:42 +02:00
|
|
|
MASTER_SITES= http://atterer.org/sites/atterer/files/2009-08/${PORTNAME}/
|
2002-09-19 22:17:59 +02:00
|
|
|
|
2013-05-25 14:36:42 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-10-15 23:17:55 +02:00
|
|
|
COMMENT= Utility used to retrieve large files over the Internet
|
2002-09-19 22:17:59 +02:00
|
|
|
|
2013-05-25 14:36:42 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget
|
2004-09-18 20:15:26 +02:00
|
|
|
|
2014-03-15 17:39:46 +01:00
|
|
|
USES= gmake tar:bzip2
|
2002-09-19 22:17:59 +02:00
|
|
|
USE_SUBMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2006-06-05 22:29:27 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2002-09-19 22:17:59 +02:00
|
|
|
|
2012-10-17 11:07:26 +02:00
|
|
|
OPTIONS_DEFINE= GUI BDB NLS
|
2013-12-27 16:41:00 +01:00
|
|
|
OPTIONS_DEFAULT= BDB
|
|
|
|
OPTIONS_SUB= yes
|
2003-06-27 09:22:05 +02:00
|
|
|
|
2013-12-27 16:41:00 +01:00
|
|
|
GUI_DESC= GTK2 Graphical User Interface
|
|
|
|
BDB_DESC= Berkeley DB support (for jigdo-file cache)
|
2012-10-17 11:07:26 +02:00
|
|
|
|
2013-12-27 16:41:00 +01:00
|
|
|
GUI_CONFIGURE_WITH= gui
|
|
|
|
GUI_LIB_DEPENDS= libgtk-x11-2.0.so:${PORTSDIR}/x11-toolkits/gtk20 \
|
|
|
|
libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
GUI_USES= pkgconfig
|
2002-09-19 22:17:59 +02:00
|
|
|
|
2013-12-27 16:41:00 +01:00
|
|
|
BDB_CONFIGURE_ON= --with-libdb=-l${BDB_LIB_CXX_NAME}
|
|
|
|
BDB_CONFIGURE_OFF= --without-libdb
|
|
|
|
BDB_CPPFLAGS= -I${BDB_INCLUDE_DIR}
|
2014-06-11 16:49:59 +02:00
|
|
|
BDB_LIBS= -L${BDB_LIB_DIR}
|
2014-08-22 00:50:29 +02:00
|
|
|
BDB_USE= BDB=48+
|
2006-02-27 13:13:11 +01:00
|
|
|
|
2013-12-27 16:41:00 +01:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
NLS_USES= gettext
|
2002-09-19 22:17:59 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-12-27 16:41:00 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/jigdo-file
|
2002-09-19 22:17:59 +02:00
|
|
|
|
2012-10-17 11:07:26 +02:00
|
|
|
.include <bsd.port.mk>
|