openbsd-ports/sysutils/tarsnap/Makefile

33 lines
1023 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.1.1.1 2011/03/18 18:18:40 landry Exp $
COMMENT= client for the tarsnap.com online encrypted backup service
V= 1.0.29
DISTNAME= tarsnap-autoconf-${V}
PKGNAME= tarsnap-${V}
CATEGORIES= sysutils
HOMEPAGE= http://www.tarsnap.com/
MAINTAINER= Joachim Schipper <joachim@joachimschipper.nl>
# May not be modified and may only be used with tarsnap.com
# see http://www.tarsnap.com/legal.html
PERMIT_PACKAGE_CDROM= restrictive licence
PERMIT_PACKAGE_FTP= restrictive licence
PERMIT_DISTFILES_CDROM= restrictive licence
PERMIT_DISTFILES_FTP= restrictive licence
MASTER_SITES= http://www.tarsnap.com/download/
EXTRACT_SUFX= .tgz
WANTLIB= c crypto z lzma bz2>=10
LIB_DEPENDS= archivers/xz \
archivers/bzip2
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tarsnap
mv ${WRKINST}${SYSCONFDIR}/tarsnap.conf.sample ${PREFIX}/share/examples/tarsnap/tarsnap.conf
.include <bsd.port.mk>