# New ports collection makefile for:	libmspack
# Date created:				25 Nov 2004
# Whom:					Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD: ports/archivers/libmspack/Makefile,v 1.3 2004/11/25 21:52:15 fjoe Exp $
#

PORTNAME=	libmspack
PORTVERSION=	0.0.20040308
PORTREVISION=	2
CATEGORIES=	archivers
MASTER_SITES=	http://www.kyz.uklinux.net/downloads/
DISTNAME=	${PORTNAME}-${PORTVERSION}alpha

MAINTAINER=	fjoe@FreeBSD.org
COMMENT=	A library for Microsoft compression formats

USE_REINPLACE=		yes
USE_GETOPT_LONG=	yes
USE_LIBTOOL_VER=	15
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,\*this,*self,'\
		-e 's,@param\( *\)this,@param\1self,' ${WRKSRC}/mspack/mspack.h

.include <bsd.port.mk>
