diff options
Diffstat (limited to 'editors/fte/Makefile')
-rw-r--r-- | editors/fte/Makefile | 48 |
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> |