openbsd-ports/comms/conserver/patches/patch-ag
jason a66db21260 o Put config in /etc (and make manpages refer to it there)
o Put examples and README.OpenBSD in share/examples/conserver
o Update packing list to reflect new locations
1999-01-05 16:57:17 +00:00

46 lines
1007 B
Plaintext

--- ./conserver.cf/Makefile.orig Mon Jan 4 19:55:41 1999
+++ ./conserver.cf/Makefile Mon Jan 4 20:03:10 1999
@@ -4,18 +4,19 @@
#
# if you edit LIB below you have to change cons.hs default config define.
-PROG= conserver.cf
-LIB= ${DESTDIR}/usr/local/lib
-DOC= ${DESTDIR}/usr/man
+PROG= conserver.cf.eg
+LIB= ${DESTDIR}/usr/local/share/examples/conserver
+DOC= ${DESTDIR}/usr/local/man/man5
SRCs= conserver.cf
MAN= conserver.cf.5l
OTHER= README
SOURCE= Makefile ${OTHER} ${MAN} ${SRCl} ${SRCs}
-all: ${SRCl} ${PROG}
+all: ${PROG}
${PROG}: ${SRCs}
+ sed -e '/^[^#]/s/^/#/' < ${SRCs} > ${PROG}
clean: FRC
rm -f Makefile.bak a.out core errs lint.out tags
@@ -29,7 +30,8 @@
dirs: ${LIB} ${DOC}
install: all dirs FRC
- install -c ${PROG} ${LIB}/${PROG}
+ install -c -o bin -g bin -m 444 ${PROG} ${LIB}
+ install -c -o bin -g bin -m 444 ${MAN} ${DOC}/conserver.cf.5
lint: FRC
@@ -47,7 +49,7 @@
tags: FRC
/ ${LIB} ${LIB}:
- install -dr $@
+ install -d $@
${SOURCE}:
co -q $@