openbsd-ports/misc/amanda/Makefile

40 lines
956 B
Makefile
Raw Normal View History

1999-06-22 13:01:17 -04:00
# $OpenBSD: Makefile,v 1.6 1999/06/22 17:01:17 niklas 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
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>