- remove workaround for old groff

- remove MESSAGE-main referring to a config change, people upgrading
have had plenty of time to adapt

ok Ian McWilliam (maintainer)
This commit is contained in:
sthen 2011-03-21 09:20:35 +00:00
parent ec921ee368
commit 318f27f121
2 changed files with 4 additions and 17 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.136 2011/03/17 16:49:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.137 2011/03/21 09:20:35 sthen Exp $
SHARED_ONLY= Yes
COMMENT-main= SMB and CIFS client and server for UNIX
COMMENT-docs= additional documentation and examples for Samba
REVISION-main= 0
REVISION-main= 1
DISTNAME= samba-3.5.8
PKGNAME-main= ${DISTNAME}
@ -36,7 +36,8 @@ MASTER_SITES= http://download.samba.org/samba/ftp/ \
MODULES= converters/libiconv
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS}
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
textproc/groff>=1.21
LIB_DEPENDS= databases/tdb>=1.2 \
devel/popt \
devel/libexecinfo \
@ -156,21 +157,9 @@ post-patch:
pre-configure:
@${SUBST_CMD} ${SAMBA_MANPAGES}/swat.8
# Samba's man pages kill OpenBSD's groff/nroff/man implementation.
# This workaround will be needed until the new usr.bin/mandoc is
# finished and enabled.
post-extract:
@cp ${FILESDIR}/krb5-config ${WRKDIR}/bin
@chmod a+x ${WRKDIR}/bin/krb5-config
@for file in ${SAMBA_MANPAGES}/*; do \
if [ -f $$file ]; then \
cp $$file $$file.crap; \
sed -e 's:\\FC::g' -e 's:\\F\[\]::g' -e 's:\.\\\":\ \\\":g' \
-e 's:SH-xref:Sx:g' -e 's:\\m\[\]::g' -e 's:toupper:tu:g' \
-e 's:\.\.\\\":\\\":g' -e 's:^.tu :\\":g' -e's:\\m\[blue\]::g' \
-e's:\\m\[\]::g' $$file.crap > $$file; \
fi; \
done
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/samba/pdf

View File

@ -1,2 +0,0 @@
!!! ATTENTION !!!
The default passdb backend has been changed to 'tdbsam'!