aboutsummaryrefslogtreecommitdiff
path: root/editors/hte
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-08 11:47:01 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-08 11:47:01 +0000
commit4957800348fcecd67da57a7465f6ee93f8fba363 (patch)
tree270802510ab8e9ce851bdba856bddf7d22f65ee9 /editors/hte
parent3169283da15318b1ff81d1a1968cb75dd56c24cd (diff)
downloadports-4957800348fcecd67da57a7465f6ee93f8fba363.tar.gz
ports-4957800348fcecd67da57a7465f6ee93f8fba363.zip
Notes
Diffstat (limited to 'editors/hte')
-rw-r--r--editors/hte/Makefile16
-rw-r--r--editors/hte/distinfo6
2 files changed, 6 insertions, 16 deletions
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index 4d675910a877..ef340b43f9be 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= hte
-PORTVERSION= 0.9.4
+PORTVERSION= 2.0
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,6 +16,7 @@ DISTNAME= ht-${PORTVERSION}
MAINTAINER= mva@sysfault.org
COMMENT= A file editor/viewer/analyzer for executables
+USE_GCC= 4.1+
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@@ -24,21 +25,12 @@ PLIST_FILES= bin/ht
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64"
-BROKEN= does not build on ia64
-.endif
-
-.if ${OSVERSION} < 400000
-LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
-.endif
-
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -nox11
CONFIGURE_ARGS=--disable-x11-textmode
.else
USE_XLIB= yes
-CPPFLAGS= -I${X11BASE}/include
-LDFLAGS= -L${X11BASE}/lib
+CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" LDFLAGS="-L${X11BASE}/lib"
.endif
.if !defined(NOPORTDOCS)
@@ -52,8 +44,6 @@ post-patch:
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|typedef unsigned int uint;||g' ${WRKSRC}/global.h
- @${REINPLACE_CMD} -e \
- 's|uint |UINT |g' ${WRKSRC}/htdata.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ht ${PREFIX}/bin
diff --git a/editors/hte/distinfo b/editors/hte/distinfo
index 639b7a8333ee..f5fab65d3451 100644
--- a/editors/hte/distinfo
+++ b/editors/hte/distinfo
@@ -1,3 +1,3 @@
-MD5 (ht-0.9.4.tar.bz2) = 00031f3d71596e2874ec6bd066da9054
-SHA256 (ht-0.9.4.tar.bz2) = dc594b08ec4f5997269d217875fc8a9bef43dc316151e45b949a3942ea6af9ec
-SIZE (ht-0.9.4.tar.bz2) = 773249
+MD5 (ht-2.0.tar.bz2) = 3fb6d9a736bfbb7f4b6f46ee752201e5
+SHA256 (ht-2.0.tar.bz2) = 1d0025030fb9bb22b8b14043611fff5003e8cbc3a9689977b79c14eba0c6829f
+SIZE (ht-2.0.tar.bz2) = 854003