aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-18 23:42:48 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-18 23:42:48 +0000
commita990dc9f100b26f577dd832bccb2f4a1c02a587b (patch)
tree6026f033c6cdc0265a4b444751abad37eef6390c /editors
parenta7a4a61612fcdc7688d3b59354cb872cb720aaa7 (diff)
downloadports-a990dc9f100b26f577dd832bccb2f4a1c02a587b.tar.gz
ports-a990dc9f100b26f577dd832bccb2f4a1c02a587b.zip
Notes
Diffstat (limited to 'editors')
-rw-r--r--editors/hte/Makefile15
-rw-r--r--editors/hte/distinfo2
-rw-r--r--editors/hte/pkg-plist2
3 files changed, 16 insertions, 3 deletions
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index 1c5d23e7bdd3..ce3400964e19 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= hte
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,8 +16,9 @@ DISTNAME= ht-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A file editor/viewer/analyzer for executables
+USE_BZIP2= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS="-lm"
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-release
@@ -27,4 +28,14 @@ CONFIGURE_ARGS= --enable-release
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|$$FLAGS_PIPE $$FLAGS_ALL|$$CFLAGS|g' ${WRKSRC}/configure
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/editors/hte/distinfo b/editors/hte/distinfo
index 80ffa7e217aa..198d9e8fc9e5 100644
--- a/editors/hte/distinfo
+++ b/editors/hte/distinfo
@@ -1 +1 @@
-MD5 (ht-0.7.0.tar.gz) = 3b09201f032cc24ee26ca9ee2b8437c6
+MD5 (ht-0.7.1.tar.bz2) = 03c70bb00fd38032b8a6b46ed40bb47a
diff --git a/editors/hte/pkg-plist b/editors/hte/pkg-plist
index eeec6de521fe..3c69f0571d0c 100644
--- a/editors/hte/pkg-plist
+++ b/editors/hte/pkg-plist
@@ -1 +1,3 @@
bin/ht
+%%PORTDOCS%%share/doc/hte/README
+%%PORTDOCS%%@dirrm share/doc/hte