aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/ha/Makefile
blob: 4efa687286a5f174917bc1c2d79c92df532d2eb9 (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
29
30
# New ports collection makefile for:    ha
# Date created:         24 Jan 1995
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   ha
PORTVERSION=    0.999b
CATEGORIES= archivers
MASTER_SITES=   ftp://ftp.kiarchive.ru/pub/unix/arcers/
DISTNAME=   ha0999
EXTRACT_SUFX=   .tgz

MAINTAINER= ache@FreeBSD.org

NO_WRKSUBDIR=   yes
MAKEFILE=   makefile.nix
ALL_TARGET= ha
USE_GMAKE=  yes

pre-patch:
    @${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' \
        ${WRKSRC}/c/hsc.c ${WRKSRC}/c/cpy.c \
        ${WRKSRC}/c/asc.c

do-install:
    cd ${WRKSRC}; ${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ha ${PREFIX}/bin

.include <bsd.port.mk>