freebsd-ports/archivers/ha/Makefile
Kris Kennaway b8afc9590c Remove #include <malloc.h>
Respect CC and CFLAGS
2002-03-31 02:39:41 +00:00

31 lines
627 B
Makefile

# 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>