aboutsummaryrefslogtreecommitdiffstats
path: root/editors/fte/Makefile
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-09 10:27:49 +0800
committerwill <will@FreeBSD.org>2000-06-09 10:27:49 +0800
commit909c34543d4c37743baaa5b4dadd18fd54359a0e (patch)
tree4950ae19eb3cb3580f6a407e583fa8e70da18319 /editors/fte/Makefile
parent937323369371129525fe17e0ee90d0f57658e94f (diff)
downloadfreebsd-ports-gnome-909c34543d4c37743baaa5b4dadd18fd54359a0e.tar.gz
freebsd-ports-gnome-909c34543d4c37743baaa5b4dadd18fd54359a0e.tar.zst
freebsd-ports-gnome-909c34543d4c37743baaa5b4dadd18fd54359a0e.zip
Add FTE, a full-featured text editor for X11.
PR: 18493 Submitted by: Alexander Gelfenbain <mail@gelf.com>
Diffstat (limited to 'editors/fte/Makefile')
-rw-r--r--editors/fte/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/editors/fte/Makefile b/editors/fte/Makefile
new file mode 100644
index 000000000000..33e87c5cea23
--- /dev/null
+++ b/editors/fte/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: fte
+# Date created: 8 May 2000
+# Whom: gelf
+#
+# $FreeBSD$
+#
+
+PORTNAME= fte
+PORTVERSION= 46.5
+CATEGORIES= editors
+MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/fte/ \
+ http://download.sourceforge.net/fte/
+DISTNAME= ${PORTNAME}s${PORTVERSION:S/./b/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= mail@gelf.com
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+EXTRACT_CMD= unzip
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS=
+USE_NEWGCC= yes
+
+.include "${.CURDIR}/files/conffiles"
+
+do-build:
+ (cd ${WRKSRC}/src ; ${MAKE} -f fte-unix.mak)
+ (cd ${WRKSRC}/config ; ../src/cfte main.fte)
+
+do-install:
+ ${MKDIR} ${PREFIX}/bin
+ ${MKDIR} ${PREFIX}/etc/fte
+ ${MKDIR} ${PREFIX}/lib/fte/etc/kbd
+ ${MKDIR} ${PREFIX}/lib/fte/etc/menu
+
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/xfte ${PREFIX}/bin/fte
+ ${INSTALL_DATA} ${WRKSRC}/config/fte-new.cnf ${PREFIX}/etc/fte/system.fterc
+.for CONFFILE in ${CONFFILES}
+ ${INSTALL_DATA} ${WRKSRC}/config/${CONFFILE} ${PREFIX}/lib/fte/etc
+.endfor
+.for KBDFILE in ${KBDFILES}
+ ${INSTALL_DATA} ${WRKSRC}/config/kbd/${KBDFILE} ${PREFIX}/lib/fte/etc/kbd
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/config/menu/m_c.fte ${PREFIX}/lib/fte/etc/menu
+ ${INSTALL_DATA} ${WRKSRC}/config/menu/m_html.fte ${PREFIX}/lib/fte/etc/menu
+
+.include <bsd.port.mk>