1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/archivers/ha/Makefile
Alex Kozlov 9718d17298 Update MASTER_SITES
Approved by:	eadler (mentor)
2012-03-03 13:39:53 +00:00

40 lines
829 B
Makefile

# New ports collection makefile for: ha
# Date created: 24 Jan 1995
# Whom: ache
#
# $FreeBSD$
#
PORTNAME= ha
PORTVERSION= 0.999b
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ha0999
EXTRACT_SUFX= .tgz
MAINTAINER= ak@FreeBSD.org
COMMENT= The HA archiver using the HSC compression method
PROJECTHOST= ak-various-projects
NO_WRKSUBDIR= yes
PLIST_FILES= bin/ha
MAKEFILE= makefile.nix
ALL_TARGET= ha
USE_GMAKE= yes
post-patch:
@${REINPLACE_CMD} 's,<malloc.h>,<stdlib.h>,' \
${WRKSRC}/c/hsc.c ${WRKSRC}/c/cpy.c \
${WRKSRC}/c/asc.c
@${REINPLACE_CMD} -e 's|CC =|CC ?=|' \
-e 's|LDFLAGS = -O2||' \
-e 's|CFLAGS = -Wall -O2|CFLAGS += -Wall|' \
${WRKSRC}/makefile.nix
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ha ${PREFIX}/bin
.include <bsd.port.mk>