aboutsummaryrefslogtreecommitdiffstats
path: root/editors/hte
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2012-12-09 17:13:05 +0800
committermva <mva@FreeBSD.org>2012-12-09 17:13:05 +0800
commit4bcd68a6f7447987f25cb1afb327994fa5248e72 (patch)
tree5041db3df88d8a1303df63a41109d0404ba5ad47 /editors/hte
parent8a151b45f6fe5a16a848b7b6506374d9343815fe (diff)
downloadfreebsd-ports-gnome-4bcd68a6f7447987f25cb1afb327994fa5248e72.tar.gz
freebsd-ports-gnome-4bcd68a6f7447987f25cb1afb327994fa5248e72.tar.zst
freebsd-ports-gnome-4bcd68a6f7447987f25cb1afb327994fa5248e72.zip
- Update to 2.0.21
- Trim Makefile headers - Switch to OptionsNG Feature safe: yes
Diffstat (limited to 'editors/hte')
-rw-r--r--editors/hte/Makefile32
-rw-r--r--editors/hte/distinfo4
2 files changed, 17 insertions, 19 deletions
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index 2bb451b14810..5935b584e289 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -1,13 +1,8 @@
-# ex:ts=8
-# New ports collection makefile for: HT Editor
-# Date created: Jun 12, 2001
-# Whom: ijliao
-#
+# Created By: Ying-Chieh Liao
# $FreeBSD$
-#
PORTNAME= hte
-PORTVERSION= 2.0.20
+PORTVERSION= 2.0.21
CATEGORIES= editors
MASTER_SITES= SF/${PORTNAME}/ht-source
DISTNAME= ht-${PORTVERSION}
@@ -22,30 +17,33 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/ht
-OPTIONS= LZO2 "Enable external lzo2 compresssion support" off \
- X11 "Build X11 textmode support" on
+OPTIONS_DEFINE= DOCS LZO2 X11
+OPTIONS_DEFAULT= X11
+
+LZO2_DESC= External lzo2 compression support
+X11_DESC= X11 textmode support
NOT_FOR_ARCHS= ia64
NOT_FOR_ARCHS_REASON= does not build on ia64
.include <bsd.port.options.mk>
-.if defined(WITH_LZO2)
-LIB_DEPENDS+= lzo2.2:${PORTSDIR}/archivers/lzo2
+.if ${PORT_OPTIONS:MLZO2}
+LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2
.else
CONFIGURE_ARGS= --with-included-lzo
.endif
-.if defined(WITHOUT_X11)
-PKGNAMESUFFIX= -nox11
-CONFIGURE_ARGS+=--disable-x11-textmode
-.else
+.if ${PORT_OPTIONS:MX11}
USE_XORG= x11
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.else
+PKGNAMESUFFIX= -nox11
+CONFIGURE_ARGS+=--disable-x11-textmode
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README
INFO= ht
.endif
@@ -58,7 +56,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ht ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/hthelp.info ${PREFIX}/${INFO_PATH}/ht.info
diff --git a/editors/hte/distinfo b/editors/hte/distinfo
index f27d88e96ebf..93ab8c6874ca 100644
--- a/editors/hte/distinfo
+++ b/editors/hte/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ht-2.0.20.tar.bz2) = 4aa162f10a13e60859bef1f04c6529f967fdfd660ae421ee25eab1fbabcd1ed0
-SIZE (ht-2.0.20.tar.bz2) = 900575
+SHA256 (ht-2.0.21.tar.bz2) = f9c04f2074d6a774bae0d7fdc3f8b2c579db39aad0761b33b4884949fc378934
+SIZE (ht-2.0.21.tar.bz2) = 897891