426d36469125c4fc7e502ff384727cead31dd069
[alioth/cvs.git] / Makefile.bsd-wrapper
1 # $MirOS: src/gnu/usr.bin/cvs/Makefile.bsd-wrapper,v 1.32 2013/08/06 17:06:18 tg Exp $
2 # $OpenBSD: Makefile.bsd-wrapper,v 1.44 2004/01/02 09:01:24 millert Exp $
3
4 # MirOS patchlevel tracked in configure{.in,}
5
6 MAN=            doc/cvs.1 man/cvs.5
7 INST_TARGET=    INSTALL_MAN= install
8
9 CFARGS+=        --prefix=/usr \
10                 --mandir=/usr/share/man \
11                 --datadir=/usr/libexec \
12                 --infodir=/usr/share/info \
13                 --disable-maintainer-mode \
14                 --disable-dependency-tracking \
15                 --enable-cvs-ndbm \
16                 --enable-client \
17                 --enable-password-authenticated-client \
18                 --enable-server \
19                 --enable-proxy \
20                 --disable-pam \
21                 --enable-case-sensitivity \
22                 --disable-encryption \
23                 --disable-lock-compatibility \
24                 --disable-rootcommit \
25                 --disable-old-info-format-support \
26                 --enable-config-override=no \
27                 --with-external-zlib \
28                 --with-rsh=/usr/bin/ssh \
29                 --with-editor=/bin/ed \
30                 --with-tmpdir=/var/tmp \
31                 --with-umask=002 \
32                 --with-cvs-admin-group=_cvsadmin
33 # caught by systrace, tries to write to ${LOCALBASE}/lib as check
34 CFVARS+=        ac_cv_sys_long_file_names=yes
35 # hardcoded paths
36 CFVARS+=        ac_cv_path_CSH=/usr/mpkg/bin/csh
37 CFVARS+=        ac_cv_path_PS2PDF=false
38 XARGS+=         ZLIB_LIBS=-lz
39
40 .include <bsd.own.mk>
41 COPTS+=         -Wall -Wno-unused
42 FSFISLIB=       No
43
44 .if make(install)
45 SUBDIR+=        doc/paper
46 .endif
47
48 .if ${.OBJDIR} != ${.CURDIR}
49 CLEANFILES+=    lib/getdate.c lib/getdate.h
50 .endif
51
52 post-install:
53         ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
54             ${.CURDIR}/doc/RCSFILES ${DESTDIR}/usr/share/misc/
55         ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
56             ${.CURDIR}/contrib/{rcs2log.1,sandbox_status.man} \
57             ${DESTDIR}/usr/libexec/cvs/contrib/
58
59 .include <bsd.cfwrap.mk>