2006-05-20 19:18:48 +02:00
|
|
|
# New ports collection makefile for: dar
|
|
|
|
# Date created: 3 January 2004
|
|
|
|
# Whom: Edson Brandi <ebrandi@fugspbr.org>
|
2004-01-03 12:53:09 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dar
|
2011-03-14 15:32:41 +01:00
|
|
|
PORTVERSION= 2.3.11
|
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
|
|
|
|
2008-03-06 22:38:43 +01:00
|
|
|
MAINTAINER= jadawin@FreeBSD.org
|
2005-02-06 19:48:06 +01:00
|
|
|
COMMENT= A full featured command-line backup tool, aimed for disks
|
2004-01-03 12:53:09 +01:00
|
|
|
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2006-05-20 19:18:48 +02:00
|
|
|
|
2007-01-05 10:35:49 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2007-07-23 11:36:51 +02:00
|
|
|
CONFIGURE_ARGS= --disable-build-html --datadir=${DATADIR} --disable-upx
|
2006-05-20 19:18:48 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -DHAVE_DECL_GETOPT=0
|
2005-02-06 19:48:06 +01:00
|
|
|
|
2006-05-20 19:18:48 +02:00
|
|
|
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
|
2005-05-29 01:04:34 +02:00
|
|
|
|
2005-02-06 19:48:06 +01:00
|
|
|
.if !defined(WITHOUT_NLS)
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-02-09 11:00:04 +01:00
|
|
|
CONFIGURE_ARGS+=--with-libintl-prefix=${PREFIX}
|
2005-02-06 19:48:06 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2006-05-20 19:18:48 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR}
|
|
|
|
@${MKDIR} ${DOCSDIR}/samples
|
|
|
|
cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* ${DOCSDIR}/samples
|
|
|
|
@${MKDIR} ${DOCSDIR}/mini-howto
|
|
|
|
cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} *.html README ${DOCSDIR}/mini-howto
|
|
|
|
.endif
|
|
|
|
|
2004-01-03 12:53:09 +01:00
|
|
|
.include <bsd.port.mk>
|