summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-07-10 06:55:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-07-10 06:55:28 +0000
commit1679a3f535999d7959d45dfc6a5809c8e1ddf919 (patch)
tree865049fa69fc6341fbf7ffd3001ed8d78e56cfee /editors
parentConvert from USE_MOTIF to USES=motif (diff)
Convert from USE_MOTIF to USES=motif
While here: - Trim headers - Convert some USE_GMAKE to USES=gmake
Notes
Notes: svn path=/head/; revision=322621
Diffstat (limited to 'editors')
-rw-r--r--editors/thoteditor/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/editors/thoteditor/Makefile b/editors/thoteditor/Makefile
index b2556f641bb0..792fe3c23398 100644
--- a/editors/thoteditor/Makefile
+++ b/editors/thoteditor/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: thot
-# Date created: 1 Aug 1997
-# Whom: Pedro Giffuni (orig)
-#
+# Created by: Pedro Giffuni
# $FreeBSD$
-#
PORTNAME= thoteditor
PORTVERSION= 2.1e
@@ -15,21 +11,20 @@ MASTER_SITE_SUBDIR= apps/editors/X/thot
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An structured document editor, offering a graphical WYSIWYG interface
-
-.include <bsd.port.pre.mk>
+COMMENT= Structured document editor, offering a graphical WYSIWYG interface
THOT_SUBDIR= Target
-USE_MOTIF= yes
+USES= gmake motif
WRKSRC= $(WRKDIR)/Thot/$(THOT_SUBDIR)
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-thot --enable-plugin --without-insure --without-amaya --disable-java --disable-intr --disable-jit --disable-math --disable-ilu
-USE_GMAKE= yes
ALL_TARGET= all schemas
MAKE_JOBS_UNSAFE= yes
MAN1= cextract.1
MAN5= cextrc.5
+.include <bsd.port.pre.mk>
+
do-configure:
$(CP) $(WRKSRC)/../thot/Makefile.in $(WRKSRC)/../thot/Makefile.in.patched
$(SED) -e "s&%%MOTIFLIB%%&$(MOTIFLIB)&" <$(WRKSRC)/../thot/Makefile.in.patched >$(WRKSRC)/../thot/Makefile.in