Tweak MAKE_FLAGS instead of patch-ab.

Fix packing list to have same permissions as xterm.
tek FLAVOR, for people who want a full xterm emulation (strange idea)...

(Issue: let japanese mode be euc as a default,
since our other ports use euc ?)
This commit is contained in:
espie 2000-04-16 21:31:13 +00:00
parent f9fa1eecc8
commit 55b56bb83a
3 changed files with 12 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2000/03/30 02:10:36 espie Exp $ # $OpenBSD: Makefile,v 1.8 2000/04/16 21:31:13 espie Exp $
# #
DISTNAME= kterm-6.2.0 DISTNAME= kterm-6.2.0
@ -22,16 +22,18 @@ MAINTAINER= ports@openbsd.org
USE_IMAKE= Yes USE_IMAKE= Yes
FAKE= Yes FAKE= Yes
MAKE_FLAGS= CDEBUGFLAGS=-O2
FLAVORS=xaw3d FLAVORS=xaw3d tek
FLAVOR?= FLAVOR?=
.if ${FLAVOR:L} == "xaw3d" .if ${FLAVOR:L:Mxaw3d}
LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d LIB_DEPENDS= Xaw3d.6.1::x11/Xaw3d
MAKE_ENV=EXTRA_DEFINES=-DKTERM_XAW3D MAKE_ENV=EXTRA_DEFINES=-DKTERM_XAW3D
.elif ${FLAVOR:L} != "" .endif
.BEGIN:
@echo >&2 "Unknown flavor: ${FLAVOR}" .if ${FLAVOR:L:Mtek}
@exit 1 pre-configure:
perl -pi.bak -e 's/define KTERM_NOTEK/undef KTERM_NOTEK/;' ${WRKSRC}/kterm.h
.endif .endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,10 +0,0 @@
--- Imakefile.orig Tue Jul 28 16:34:39 1998
+++ Imakefile Tue Jul 28 16:34:21 1998
@@ -1,6 +1,7 @@
XCOMM $XConsortium: Imakefile /main/65 1996/02/02 14:27:54 kaleb $
XCOMM $Id: patch-ab,v 1.1 1998/07/29 01:31:15 espie Exp $
+#define CDEBUGFLAGS -O2
#include "kterm.h"
/*

View File

@ -1,3 +1,5 @@
bin/kterm
lib/X11/app-defaults/KTerm lib/X11/app-defaults/KTerm
man/cat1/kterm.0 man/cat1/kterm.0
@mode u+s
@owner root
bin/kterm