aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/wzip/Makefile
blob: 1ba65a60fc7d12dd25eff6208ec62da52fe9ab43 (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
# Created by: Yonatan <onatan@gmail.com>
# $FreeBSD$

PORTNAME=   wzip
PORTVERSION=    1.1.1
CATEGORIES= archivers
MASTER_SITES=   ${MASTER_SITE_DEBIAN_POOL}
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= onatan@gmail.com
COMMENT=    Preprocessor for lossy data compression

ALL_TARGET= ${PORTNAME}
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PLIST_FILES=    bin/${PORTNAME} \
        man/man1/${PORTNAME}.1.gz

post-patch:
    @${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/${MAKEFILE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>