blob: 90cc9de4642435183fe833b2c9186b0067d247b3 (
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
31
32
33
34
35
36
|
# Created by: 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_STAGE= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/ha
MAKEFILE= makefile.nix
ALL_TARGET= ha
USES= gmake
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>
|