# New ports collection makefile for:	partimage
# Date created:				21 Jan 2004
# Whom:					Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	partimage
PORTVERSION=	0.6.2
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	partimage

MAINTAINER=	fjoe@freebsd.org
COMMENT=	Utility for saving/restoring partitions to an image file

LIB_DEPENDS=	newt.51:${PORTSDIR}/devel/newt

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETOPT_LONG=yes

pre-install:
	@${SETENV} PKG_PREFIX=${PREFIX} \
		${SH} ${PKGDIR}/pkg-install ${PORTNAME} PRE-INSTALL

.include <bsd.port.mk>
