aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libmspack/Makefile
blob: 20747c913db031f3c910d4074868e74ad85b0d06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    libmspack
# Date created:             25 Nov 2004
# Whom:                 Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   libmspack
PORTVERSION=    0.0.20040308
PORTREVISION=   3
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_AUTOTOOLS=  libtool:15
USE_GETOPT_LONG=    yes
GNU_CONFIGURE=  yes
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>