aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-03-14 17:01:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-03-14 17:01:53 +0800
commit0287dbeac0725cf7395325a3d7853eed1dfc4d39 (patch)
treebd822940d5f7404339e4a019ad0ca6024613e924 /editors
parente8b4dcf1d23db30a518be3a9ba2ff560ae9ccdde (diff)
downloadfreebsd-ports-gnome-0287dbeac0725cf7395325a3d7853eed1dfc4d39.tar.gz
freebsd-ports-gnome-0287dbeac0725cf7395325a3d7853eed1dfc4d39.tar.zst
freebsd-ports-gnome-0287dbeac0725cf7395325a3d7853eed1dfc4d39.zip
- Add LICENSE_FILE
- Switch to options helpers - Cosmetic fixes
Diffstat (limited to 'editors')
-rw-r--r--editors/hte/Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index 4d4c8cfefda7..81737279e8bd 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -11,31 +11,29 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= File editor/viewer/analyzer for executables
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BROKEN_ia64= does not build
USES= ncurses tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/hte
+PORTDOCS= README
+INFO= hte
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
-
LZO2_LIB_DEPENDS= liblzo2.so:archivers/lzo2
LZO2_CONFIGURE_OFF= --with-included-lzo
+
+X11_DESC= X11 textmode support
X11_USE= XORG=x11
-X11_CPPFLAGS= -I${LOCALBASE}/include
-X11_LDFLAGS= -L${LOCALBASE}/lib
+X11_USES= localbase:ldflags
X11_CONFIGURE_ENABLE= x11-textmode
-PORTDOCS= README
-INFO= hte
-
post-patch:
@${REINPLACE_CMD} -e 's|^CXXFLAGS=.*$$|CXXFLAGS="$$CXXFLAGS"|g ; \
s|^CFLAGS=.*$$|CFLAGS="$$CFLAGS"|g ; \
@@ -44,9 +42,11 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ht ${STAGEDIR}${PREFIX}/bin/hte
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/hthelp.info \
${STAGEDIR}${PREFIX}/${INFO_PATH}/hte.info
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>