17f83b2552
Should fix the build on Solaris and most other OSes that don't keep a museum of historical BSD curiosities on tap. Also, make the termios code already present actually work instead of zeroing some things, using uninitialized values for others, and thereby hanging up the tty. Given that some of the logic apparently came from Debian patches, I'm not impressed. (I suppose Linux probably doesn't honor hangup via setting the speed to 0.) While here also fix up the window size handling. Input now works properly for me (on NetBSD) and it didn't before I started mucking around, so it seems like generally a step forward. PKGREVISION -> 1.
28 lines
755 B
Makefile
28 lines
755 B
Makefile
# $NetBSD: Makefile,v 1.15 2014/09/12 03:54:13 dholland Exp $
|
|
|
|
DISTNAME= beav_1.40.orig
|
|
PKGNAME= beav-1.40.18
|
|
PKGREVISION= 1
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/b/beav/}
|
|
|
|
PATCHFILES= beav_1.40-18.diff.gz
|
|
PATCH_SITES= ${MASTER_SITE_DEBIAN:=pool/main/b/beav/}
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= bad@NetBSD.org
|
|
COMMENT= Binary Editor And Viewer, a full featured binary file editor
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
WRKSRC= ${WRKDIR}/beav-140
|
|
MAKE_ENV+= SED=${SED:Q}
|
|
BUILD_TARGET= beav
|
|
|
|
SUBST_CLASSES+= docpath
|
|
SUBST_FILES.docpath= beav.1
|
|
SUBST_STAGE.docpath= post-build
|
|
SUBST_SED.docpath= -e 's,/usr/share/doc/,${PREFIX}/share/doc,'
|
|
SUBST_MESSAGE.docpath= Fixing path in documentation.
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|