openbsd-ports/misc/amanda/Makefile

46 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.8 2000/02/15 05:04:47 turan Exp $
1997-12-09 01:23:36 -05:00
#
DISTNAME= amanda-2.4.1p1
1997-12-09 01:23:36 -05:00
CATEGORIES= misc
NEED_VERSION= 1.64
MAINTAINER= marc@OpenBSD.ORG
2000-02-12 01:29:49 -05:00
LICENSE_TYPE= BSD
PERMIT_PACKAGE_CDROM= YES
PERMIT_PACKAGE_FTP= YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP= YES
2000-02-12 01:29:49 -05:00
MASTER_SITES= ftp://ftp.cs.umd.edu/pub/amanda/
1997-12-09 01:23:36 -05:00
GNU_CONFIGURE= yes
1999-03-11 17:48:16 -05:00
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--sysconfdir=/etc \
--localstatedir=/var \
1999-06-22 13:01:17 -04:00
--with-gnutar_list_dir=/var/db/amanda/gnutar-lists \
--with-user=operator \
--with-group=operator
1997-12-09 01:23:36 -05:00
EXAMPLE_DIR= ${PREFIX}/share/examples/amanda
pre-install:
@${SH} ${PKGDIR}/INSTALL ${DISTNAME} PRE-INSTALL
1997-12-09 01:23:36 -05:00
post-install:
@(cd ${WRKSRC}; \
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}; \
${INSTALL_DATA} docs/* ${EXAMPLE_DIR}; \
${INSTALL_DATA} example/*.ps ${EXAMPLE_DIR}; \
(cd example; \
for f in *.conf; do \
sed -e 's,usr/adm,var,' \
-e 's,/usr/local,,' $$f > ${EXAMPLE_DIR}/$$f; \
done))
@PREFIX="${PREFIX}" EXAMPLE_DIR="${EXAMPLE_DIR}" \
${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
1997-12-09 01:23:36 -05:00
.include <bsd.port.mk>