2013-05-06 11:07:58 +02:00
|
|
|
# Created by: Edson Brandi <ebrandi@fugspbr.org>
|
2004-01-03 12:53:09 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dar
|
2014-02-27 17:06:53 +01:00
|
|
|
PORTVERSION= 2.4.12
|
2014-05-27 16:20:23 +02:00
|
|
|
PORTREVISION= 1
|
2006-05-20 19:18:48 +02:00
|
|
|
CATEGORIES= sysutils archivers
|
2007-08-05 23:26:51 +02:00
|
|
|
MASTER_SITES= SF
|
2004-01-03 12:53:09 +01:00
|
|
|
|
2014-02-10 14:49:21 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-27 17:06:53 +01:00
|
|
|
COMMENT= Command-line backup tool, aimed for disks
|
2004-01-03 12:53:09 +01:00
|
|
|
|
2014-02-27 17:06:53 +01:00
|
|
|
LICENSE= GPLv2 # (or later)
|
2006-05-20 19:18:48 +02:00
|
|
|
|
2014-05-27 16:20:23 +02:00
|
|
|
USES= pathfix shebangfix libtool
|
2014-02-27 17:06:53 +01:00
|
|
|
SHEBANG_FILES= doc/samples/dar_backup doc/samples/*.bash doc/samples/*.sh
|
|
|
|
USE_GCC= any
|
2014-05-27 16:20:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-02-27 17:06:53 +01:00
|
|
|
CONFIGURE_ARGS= --datadir=${DATADIR} --disable-build-html \
|
|
|
|
--disable-upx --disable-libgcrypt-linking \
|
|
|
|
--disable-ea-support --disable-nodump-flag \
|
|
|
|
--disable-gnugetopt
|
2014-05-27 16:20:23 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2007-01-05 10:35:49 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-05-20 19:18:48 +02:00
|
|
|
|
2014-02-27 17:06:53 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-02-27 17:06:53 +01:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS LZO NLS
|
|
|
|
OPTIONS_SUB= yes
|
2005-02-06 19:48:06 +01:00
|
|
|
|
2014-02-27 17:06:53 +01:00
|
|
|
LZO_DESC= Support lzo compression via liblzo2
|
|
|
|
LZO_LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2
|
|
|
|
LZO_CONFIGURE_ENABLE= liblzo2-linking
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2014-02-10 14:58:28 +01:00
|
|
|
|
2013-05-06 11:07:58 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2014-02-27 17:06:53 +01:00
|
|
|
.if ${OSVERSION} < 1000052
|
|
|
|
LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
2005-02-06 19:48:06 +01:00
|
|
|
.endif
|
|
|
|
|
2014-02-27 17:06:53 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/LIBS/s|-lpthread|-pthread|' ${WRKSRC}/configure
|
|
|
|
@${FIND} ${WRKSRC}/doc -name "Makefile.in" | ${XARGS} \
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|$$(pkgdatadir)|$$(docdir)|g'
|
2006-05-20 19:18:48 +02:00
|
|
|
|
2004-01-03 12:53:09 +01:00
|
|
|
.include <bsd.port.mk>
|