aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-14 09:01:53 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-14 09:01:53 +0000
commitb72e9c27b4f8fa66cb5c7b3c149b72217b0ec524 (patch)
treebd822940d5f7404339e4a019ad0ca6024613e924 /editors
parent41da8b6a950cbadde13ce68bd7580398373b75d9 (diff)
downloadports-b72e9c27b4f8fa66cb5c7b3c149b72217b0ec524.tar.gz
ports-b72e9c27b4f8fa66cb5c7b3c149b72217b0ec524.zip
Notes
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>