aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libmspack/Makefile
blob: adf9bf83c74d5de43b67f0c0c73a3a6dfee4df6e (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
# 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_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>