summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-09 11:12:09 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-09 11:12:09 +0800
commit64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4 (patch)
treea16a0110b9cc52d44979cfe21a2ce4f2b082e977 /editors
parentafd74a02a91ab6d1ccb5a54ebf1f8b54b9293a7a (diff)
downloadmarcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.tar
marcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.tar.gz
marcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.tar.bz2
marcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.tar.lz
marcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.tar.xz
marcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.tar.zst
marcuscom-ports-64fe9e53704745c9d6ed38ef7908ffcd4d3a05b4.zip
Fix build with new freetype2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7680 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'editors')
-rw-r--r--editors/elvis/Makefile76
-rw-r--r--editors/elvis/distinfo3
-rw-r--r--editors/elvis/pkg-descr7
-rw-r--r--editors/elvis/pkg-plist102
4 files changed, 188 insertions, 0 deletions
diff --git a/editors/elvis/Makefile b/editors/elvis/Makefile
new file mode 100644
index 000000000..5c7d876cf
--- /dev/null
+++ b/editors/elvis/Makefile
@@ -0,0 +1,76 @@
+# New ports collection makefile for: elvis
+# Date created: 1999-09-01
+# Whom: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
+#
+# $FreeBSD: ports/editors/elvis/Makefile,v 1.12 2006/05/07 10:55:31 edwin Exp $
+#
+
+PORTNAME= elvis
+PORTVERSION= 2.2.0
+PORTREVISION= 1
+CATEGORIES= editors
+MASTER_SITES= ftp://ftp.cs.pdx.edu/pub/elvis/ \
+ ftp://ftp.false.com/pub/elvis/ \
+ ftp://the.wiretapped.net/pub/elvis/ \
+ ftp://ftp.fh-wedel.de/pub/elvis/
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}_${PORTVERSION:E}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A clone of the ex/vi text editor
+
+EXTRACT_AFTER_ARGS= | ${TAR} --exclude guiwin32 -xf -
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix="${PREFIX}"
+ALL_TARGET= all doc/elvtags.man
+
+MAN1= elvfmt.1 elvis.1 elvtags.1 ref.1
+
+.include <bsd.port.pre.mk>
+
+# Support building on systems with or without X11 installed.
+.if defined(WITHOUT_X11)
+PKGNAMESUFFIX= -nox11
+CONFIGURE_ARGS+= --without-x
+.else
+USE_XPM= yes
+.if ${X_WINDOW_SYSTEM:L} == xfree86-3 || defined(WITHOUT_XFT)
+CONFIGURE_ARGS+= --without-xft
+.else
+LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
+CONFIGURE_ARGS+= --libs="${LDFLAGS}"
+CFLAGS+= `freetype-config --cflags`
+LDFLAGS= `freetype-config --libs`
+.endif
+.endif
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "Elvis has the following tunable option(s):"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITHOUT_X11=yes Turns off X11 support"
+ @${ECHO_MSG} " WITHOUT_XFT=yes Turns off Xft support"
+ @${ECHO_MSG} ""
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g ; \
+ s|-lipc|-lcurses|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|FT_FILE|ELVIS_FT_FILE|g' \
+ ${WRKSRC}/guix11/xdialog.c \
+ ${WRKSRC}/guix11/xdialog.h
+
+do-install:
+.for file in elvfmt elvis elvtags ref
+ ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${file}.man ${PREFIX}/man/man1/${file}.1
+.endfor
+ @${MKDIR} ${DATADIR}
+ ${TAR} -C ${WRKSRC}/data -cf - . | \
+ ${TAR} -C ${DATADIR} --unlink -xf -
+ @${MKDIR} ${DATADIR}/doc
+ ${TAR} -C ${WRKSRC}/doc --exclude "*.man" -cf - . | \
+ ${TAR} -C ${DATADIR}/doc --unlink -xf -
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
+
+.include <bsd.port.post.mk>
diff --git a/editors/elvis/distinfo b/editors/elvis/distinfo
new file mode 100644
index 000000000..8de6b1dc5
--- /dev/null
+++ b/editors/elvis/distinfo
@@ -0,0 +1,3 @@
+MD5 (elvis-2.2_0.tar.gz) = 6831b8df3e4a530395e66c2889783752
+SHA256 (elvis-2.2_0.tar.gz) = 9a8466b2293798441056bc279736af3a616baaba2f11940396cc60ff71924ea0
+SIZE (elvis-2.2_0.tar.gz) = 1439293
diff --git a/editors/elvis/pkg-descr b/editors/elvis/pkg-descr
new file mode 100644
index 000000000..c5298f608
--- /dev/null
+++ b/editors/elvis/pkg-descr
@@ -0,0 +1,7 @@
+elvis is a text editor. It is intended to be a modern replacement
+for the classic ex/vi editor of UNIX fame. elvis supports many new
+features, including multiple edit buffers, multiple windows, multiple
+user interfaces, and a variety of display modes including plain
+text, syntax highlighting, hex dump, HTML and man page formatter.
+
+WWW: http://elvis.the-little-red-haired-girl.org/
diff --git a/editors/elvis/pkg-plist b/editors/elvis/pkg-plist
new file mode 100644
index 000000000..abc5d64a3
--- /dev/null
+++ b/editors/elvis/pkg-plist
@@ -0,0 +1,102 @@
+bin/elvfmt
+bin/elvis
+bin/elvtags
+bin/ref
+%%DATADIR%%/doc/bugs.txt
+%%DATADIR%%/doc/doexec.txt
+%%DATADIR%%/doc/elvis.html
+%%DATADIR%%/doc/elviscut.html
+%%DATADIR%%/doc/elvisdm.html
+%%DATADIR%%/doc/elvisex.html
+%%DATADIR%%/doc/elvisexp.html
+%%DATADIR%%/doc/elvisgui.html
+%%DATADIR%%/doc/elvisinp.html
+%%DATADIR%%/doc/elvismsg.html
+%%DATADIR%%/doc/elvisnet.html
+%%DATADIR%%/doc/elvisopt.html
+%%DATADIR%%/doc/elvisos.html
+%%DATADIR%%/doc/elvisqr.html
+%%DATADIR%%/doc/elvisre.html
+%%DATADIR%%/doc/elvisses.html
+%%DATADIR%%/doc/elvistag.html
+%%DATADIR%%/doc/elvistip.html
+%%DATADIR%%/doc/elvistrs.msg
+%%DATADIR%%/doc/elvisvi.html
+%%DATADIR%%/doc/howto.html
+%%DATADIR%%/doc/license.html
+%%DATADIR%%/doc/printdoc.bat
+%%DATADIR%%/elvis.ali
+%%DATADIR%%/elvis.arf
+%%DATADIR%%/elvis.awf
+%%DATADIR%%/elvis.brf
+%%DATADIR%%/elvis.bro
+%%DATADIR%%/elvis.bwf
+%%DATADIR%%/elvis.clr
+%%DATADIR%%/elvis.glade
+%%DATADIR%%/elvis.gnome
+%%DATADIR%%/elvis.ini
+%%DATADIR%%/elvis.lat
+%%DATADIR%%/elvis.msg
+%%DATADIR%%/elvis.pc8
+%%DATADIR%%/elvis.ps
+%%DATADIR%%/elvis.rc
+%%DATADIR%%/elvis.spe
+%%DATADIR%%/elvis.syn
+%%DATADIR%%/elvis.x11
+%%DATADIR%%/icons/elvis.xpm
+%%DATADIR%%/icons/elvis1.xpm
+%%DATADIR%%/icons/elvis2.xpm
+%%DATADIR%%/icons/elvis3.xpm
+%%DATADIR%%/icons/kde.xpm
+%%DATADIR%%/icons/mini.xpm
+%%DATADIR%%/icons/normal.xpm
+%%DATADIR%%/icons/presley.xpm
+%%DATADIR%%/icons/small.xpm
+%%DATADIR%%/scripts/align.ex
+%%DATADIR%%/scripts/augz.ex
+%%DATADIR%%/scripts/cb.ex
+%%DATADIR%%/scripts/cursor.ex
+%%DATADIR%%/scripts/decode.ex
+%%DATADIR%%/scripts/define.ex
+%%DATADIR%%/scripts/dict.ex
+%%DATADIR%%/scripts/ellipse.ex
+%%DATADIR%%/scripts/find.ex
+%%DATADIR%%/scripts/fontsize.ex
+%%DATADIR%%/scripts/html.ex
+%%DATADIR%%/scripts/info.ex
+%%DATADIR%%/scripts/info2.ex
+%%DATADIR%%/scripts/inregion.ex
+%%DATADIR%%/scripts/isearch.ex
+%%DATADIR%%/scripts/life.ex
+%%DATADIR%%/scripts/likevim.ex
+%%DATADIR%%/scripts/mailto.ex
+%%DATADIR%%/scripts/makehtml.ex
+%%DATADIR%%/scripts/match.ex
+%%DATADIR%%/scripts/pig.ex
+%%DATADIR%%/scripts/reverse.ex
+%%DATADIR%%/scripts/rot13.ex
+%%DATADIR%%/scripts/sfb.ex
+%%DATADIR%%/scripts/shade.ex
+%%DATADIR%%/scripts/show.ex
+%%DATADIR%%/scripts/since.ex
+%%DATADIR%%/scripts/tags.ex
+%%DATADIR%%/scripts/wc.ex
+%%DATADIR%%/scripts/whois.ex
+%%DATADIR%%/scripts/xbuf.ex
+%%DATADIR%%/stubs/ansistub.c
+%%DATADIR%%/stubs/gdkstub.c
+%%DATADIR%%/stubs/glibstub.c
+%%DATADIR%%/stubs/gtkstub.c
+%%DATADIR%%/stubs/pthread.c
+%%DATADIR%%/stubs/unixstub.c
+%%DATADIR%%/stubs/xftstub.c
+%%DATADIR%%/stubs/xlibstub.c
+%%DATADIR%%/stubs/xpmstub.c
+%%DATADIR%%/themes/sand.ex
+%%DATADIR%%/themes/sand.xpm
+@dirrm %%DATADIR%%/themes
+@dirrm %%DATADIR%%/stubs
+@dirrm %%DATADIR%%/scripts
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%/doc
+@dirrm %%DATADIR%%