Simplify build process slightly (no need for sed, pull everything

into main Makefile)

give sensible rights to kermit (no read rights ???) so that packaging works
(hint: make package should NOT use root rights).
Fake.
This commit is contained in:
espie 2000-05-17 17:01:12 +00:00
parent 8b08eced88
commit f7e984c32a
4 changed files with 16 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.9 2000/04/09 17:36:07 espie Exp $
# $OpenBSD: Makefile,v 1.10 2000/05/17 17:01:12 espie Exp $
#
DISTNAME= cku192src
PKGNAME= kermit-6.0.192
CATEGORIES= comms
NEED_VERSION= 1.191
FAKE=No
FAKE= Yes
RESTRICTED= "'No redistribution' copyright"
@ -21,6 +21,12 @@ MASTER_SITES= ftp://kermit.columbia.edu/kermit/archives/ \
ftp://ftp.std.com/customers2/src/telcom/
WRKDIST= ${WRKDIR}
FAKE_FLAGS= PREFIX='${PREFIX}' DESTDIR='${WRKINST}'
post-patch:
mv ${WRKDIR}/makefile ${WRKDIR}/makefile.dist
cp ${FILESDIR}/Makefile ${WRKDIR}
cp ${FILESDIR}/dot.kermrc ${WRKDIR}
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/kermit

View File

@ -6,14 +6,12 @@ SRCS= ckcmai.c ckucmd.c ckuusr.c ckuus2.c ckuus3.c ckuus4.c ckuus5.c \
ckcfn3.c ckuxla.c ckucon.c ckutio.c ckufio.c ckudia.c ckuscr.c \
ckcnet.c ckusig.c
BINDIR=%%PREFIX%%/bin
MANDIR=%%PREFIX%%/man/cat
BINDIR=${PREFIX}/bin
MANDIR=${PREFIX}/man/cat
# Install the binary mode 1510, owned by uucp.dialer
#
BINOWN= uucp
BINGRP= dialer
BINMODE= 4510
BINMODE= 4554
CLEANFILES+= ckcpro.c ckcwart.o wart kermit.1

View File

@ -1,4 +1,8 @@
bin/kermit
@comment $OpenBSD: PLIST,v 1.5 2000/05/17 17:01:13 espie Exp $
man/cat1/kermit.0
share/examples/kermit/dot.kermrc
@dirrm share/examples/kermit
@owner uucp
@group dialer
@mode u+s
bin/kermit

View File

@ -1,7 +0,0 @@
#!/bin/sh
#
# shuffle things around for bmake to work right
#
mv ${WRKDIR}/makefile ${WRKDIR}/makefile.dist
sed -e "s@%%PREFIX%%@${PREFIX}@" < ${FILESDIR}/Makefile.sed > ${WRKDIR}/Makefile
cp ${FILESDIR}/dot.kermrc ${WRKDIR}