2009-06-19 07:29:46 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: rdup
|
|
|
|
# Date created: Jun 11, 2009
|
|
|
|
# Whom: corky1951@comcast.net
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2009-07-04 21:30:52 +02:00
|
|
|
PORTNAME= rdup
|
2009-06-19 07:29:46 +02:00
|
|
|
PORTVERSION= 1.0.0
|
2009-07-04 21:30:52 +02:00
|
|
|
CATEGORIES= sysutils
|
2009-06-19 07:29:46 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
2009-07-04 21:30:52 +02:00
|
|
|
http://miek.nl/projects/rdup/
|
2009-06-19 07:29:46 +02:00
|
|
|
|
|
|
|
MAINTAINER= corky1951@comcast.net
|
|
|
|
COMMENT= A tool to generate an (incremental) backup file list
|
|
|
|
|
|
|
|
LIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20 \
|
2009-07-04 21:30:52 +02:00
|
|
|
pcre:${PORTSDIR}/devel/pcre \
|
|
|
|
archive:${PORTSDIR}/archivers/libarchive \
|
|
|
|
nettle:${PORTSDIR}/security/nettle
|
2009-06-19 07:29:46 +02:00
|
|
|
|
2009-07-04 21:30:52 +02:00
|
|
|
USE_BZIP2= yes
|
2009-06-19 07:29:46 +02:00
|
|
|
|
2009-07-04 21:30:52 +02:00
|
|
|
USE_AUTOTOOLS= autoconf:262
|
2009-06-19 07:29:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-07-04 21:30:52 +02:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
|
2009-06-19 07:29:46 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
|
|
|
|
PLIST_FILES= bin/rdup \
|
|
|
|
bin/rdup-tr \
|
|
|
|
bin/rdup-up
|
|
|
|
|
|
|
|
MAN1= rdup.1 \
|
|
|
|
rdup-tr.1 \
|
|
|
|
rdup-up.1
|
|
|
|
|
|
|
|
MAN7= rdup-backups.7
|
|
|
|
|
|
|
|
.ifndef(NOPORTEXAMPLES)
|
|
|
|
PORTEXAMPLES= rdup-ln.sh \
|
|
|
|
rdup-simple.sh
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/usr/lib/rdup|${EXAMPLESDIR}|g' \
|
|
|
|
${WRKSRC}/doc/rdup-backups.7
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for example in ${PORTEXAMPLES}
|
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/sh/${example} ${EXAMPLESDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|