The following patch installs dfrotz as part of the games/frotz port.
dfrotz is the "dumb terminal" interface for frotz.  It is useful for
making transcripts of frotz games.


--- ports/games/frotz/Makefile.orig     Thu Jun  4 06:17:38 2015
+++ ports/games/frotz/Makefile  Sun Sep 25 23:33:47 2016
@@ -18,7 +18,8 @@
 MAKE_FLAGS=            CC="${CC}" OPTS="${CFLAGS}" CONFIG_DIR="${SYSCONFDIR}"
 FAKE_FLAGS=            PREFIX=${WRKINST}${TRUEPREFIX}
 
-ALL_TARGET=            frotz
+ALL_TARGET=            frotz dfrotz
+INSTALL_TARGET=                install install_dumb
 
 CFLAGS +=              -DUSE_UNISTD_H -DCOLOR_SUPPORT -DEMACS_EDITING
 
--- ports/games/frotz/pkg/PLIST.orig    Fri Oct 24 12:17:23 2008
+++ ports/games/frotz/pkg/PLIST Sun Sep 25 23:33:47 2016
@@ -1,3 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.4 2008/10/24 12:17:23 jasper Exp $
+@bin bin/dfrotz
 @bin bin/frotz
+@man man/man6/dfrotz.6
 @man man/man6/frotz.6

Reply via email to