aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2013-09-26 17:52:15 +0800
committerak <ak@FreeBSD.org>2013-09-26 17:52:15 +0800
commit7493aa841c7ba27e3428bb1c7a138a7ac12a964b (patch)
tree4340c4384c8712031094007b8c71692484e5e8f8
parentce692bbaf5a43c0c9ad16be75a6223a1a0b56ca7 (diff)
downloadfreebsd-ports-gnome-7493aa841c7ba27e3428bb1c7a138a7ac12a964b.tar.gz
freebsd-ports-gnome-7493aa841c7ba27e3428bb1c7a138a7ac12a964b.tar.zst
freebsd-ports-gnome-7493aa841c7ba27e3428bb1c7a138a7ac12a964b.zip
- Support STAGEDIR
- Improve COMMENT - Clean pkg-descr
-rw-r--r--archivers/ha/Makefile8
-rw-r--r--archivers/ha/pkg-descr16
2 files changed, 11 insertions, 13 deletions
diff --git a/archivers/ha/Makefile b/archivers/ha/Makefile
index 90cc9de46424..1508c66acc48 100644
--- a/archivers/ha/Makefile
+++ b/archivers/ha/Makefile
@@ -10,11 +10,10 @@ DISTNAME= ha0999
EXTRACT_SUFX= .tgz
MAINTAINER= ak@FreeBSD.org
-COMMENT= The HA archiver using the HSC compression method
+COMMENT= File archiver based on HSC compression method
PROJECTHOST= ak-various-projects
-NO_STAGE= yes
NO_WRKSUBDIR= yes
PLIST_FILES= bin/ha
MAKEFILE= makefile.nix
@@ -23,14 +22,13 @@ USES= gmake
post-patch:
@${REINPLACE_CMD} 's,<malloc.h>,<stdlib.h>,' \
- ${WRKSRC}/c/hsc.c ${WRKSRC}/c/cpy.c \
- ${WRKSRC}/c/asc.c
+ ${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
+ ${INSTALL_PROGRAM} ${WRKSRC}/ha ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/archivers/ha/pkg-descr b/archivers/ha/pkg-descr
index d2faf265b1ea..8c9f71a3d44e 100644
--- a/archivers/ha/pkg-descr
+++ b/archivers/ha/pkg-descr
@@ -9,16 +9,16 @@ for this version are not very consistent or clean, but everything should
work.
There are several improvements which should be made before this could be
-called version 1.0. Some of the most obvious of these are:
+called version 1.0. Some of the most obvious of these are:
- Compression methods should be coded in assembler for PC and using more
efficient data structures for 32 bit platforms. Current version does
- some things only to overcome 64kB segments of 8086.
-- UNIX port has still some problems and is missing some things (for example
- a grouping operator in wildcard matches).
-- File handling is far from optimum.
-- Archive handling is not too clever either.
-- Testing should be done more thoroughly as there are many special cases
- in compression routines which get used very rarely.
+ some things only to overcome 64kB segments of 8086.
+- UNIX port has still some problems and is missing some things (for example
+ a grouping operator in wildcard matches).
+- File handling is far from optimum.
+- Archive handling is not too clever either.
+- Testing should be done more thoroughly as there are many special cases
+ in compression routines which get used very rarely.
- Documentation of code and algorithms is totally missing.
Author: Harri Hirvola <harri.hirvola@vaisala.infonet.com>