aboutsummaryrefslogtreecommitdiff
path: root/editors/hte/Makefile
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2005-06-22 17:42:53 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2005-06-22 17:42:53 +0000
commit8a0dd0159063b0bceb07dc99f2a46b75666d71d6 (patch)
treecd6168bcfc8c91c35ec4e85ddc3ca9fabf868286 /editors/hte/Makefile
parentd99f2bc591c199754ecba570b6d9e9ddff9096f2 (diff)
downloadports-8a0dd0159063b0bceb07dc99f2a46b75666d71d6.tar.gz
ports-8a0dd0159063b0bceb07dc99f2a46b75666d71d6.zip
Notes
Diffstat (limited to 'editors/hte/Makefile')
-rw-r--r--editors/hte/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index f2305f7f4709..26c49b6b638a 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= hte
-PORTVERSION= 0.8.0
+PORTVERSION= 0.9.0
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -23,7 +23,6 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-release
-PORTDOCS= README
PLIST_FILES= bin/ht
.include <bsd.port.pre.mk>
@@ -41,6 +40,10 @@ CPPFLAGS= -I${X11BASE}/include
LDFLAGS= -L${X11BASE}/lib
.endif
+.if !defined(NOPORTDOCS)
+PORTDOCS= README
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|^CXXFLAGS=.*$$|CXXFLAGS="$$CXXFLAGS"|g ; \
s|^CFLAGS=.*$$|CFLAGS="$$CFLAGS"|g ; \
@@ -50,8 +53,6 @@ post-patch:
's|typedef unsigned int uint;||g' ${WRKSRC}/global.h
@${REINPLACE_CMD} -e \
's|uint |UINT |g' ${WRKSRC}/htdata.h
- @${REINPLACE_CMD} -e \
- 's|#include <malloc.h>||g' ${WRKSRC}/cp-demangle.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ht ${PREFIX}/bin