aboutsummaryrefslogtreecommitdiff
path: root/editors/fte/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-09 02:27:49 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-09 02:27:49 +0000
commit56742b3e321f2bf365248467927b0dac1bf3b4b4 (patch)
tree2b3d850e16a4e1d60c7ee07b1282feb1cef7c563 /editors/fte/Makefile
parentc4428ccb691de20d9b90892077ca0d3ec7c4ff6d (diff)
downloadports-56742b3e321f2bf365248467927b0dac1bf3b4b4.tar.gz
ports-56742b3e321f2bf365248467927b0dac1bf3b4b4.zip
Notes
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>