diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1996-12-11 10:17:44 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1996-12-11 10:17:44 +0000 |
commit | 39a45e2db1b64ea40bfd4ed7d63934ab9db9961e (patch) | |
tree | b30e7bb03354314c1191bdd63003b1d577d46360 /Mk/bsd.port.mk | |
parent | 46afb636fd4763ce3ede00d91d45cfaaf6ef8766 (diff) | |
download | ports-39a45e2db1b64ea40bfd4ed7d63934ab9db9961e.tar.gz ports-39a45e2db1b64ea40bfd4ed7d63934ab9db9961e.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index dbb98212e709..e7e552333276 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -6,7 +6,7 @@ # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. # -# $Id: bsd.port.mk,v 1.235 1996/12/09 07:08:16 asami Exp $ +# $Id: bsd.port.mk,v 1.236 1996/12/11 04:51:31 asami Exp $ # # Please view me with 4 column tabs! @@ -542,19 +542,31 @@ HAS_CONFIGURE= yes MANPREFIX?= ${PREFIX} .for sect in 1 2 3 4 5 6 7 8 9 +MAN${sect}PREFIX?= ${MANPREFIX} +.endfor +MANLPREFIX?= ${MANPREFIX} +MANNPREFIX?= ${MANPREFIX} + +MANLANG?= "" # english only by default + +.for lang in ${MANLANG} + +.for sect in 1 2 3 4 5 6 7 8 9 .if defined(MAN${sect}) -_MANPAGES+= ${MAN${sect}:S.^.man/${MANLANG}/man${sect}/.} +_MANPAGES+= ${MAN${sect}:S.^.${MAN${sect}PREFIX}/man/${lang}/man${sect}/.} .endif .endfor .if defined(MANL) -_MANPAGES+= ${MANL:S.^.man/${MANLANG}/manl/.} +_MANPAGES+= ${MANL:S.^.${MANLPREFIX}/man/${lang}/manl/.} .endif .if defined(MANN) -_MANPAGES+= ${MANN:S.^.man/${MANLANG}/mann/.} +_MANPAGES+= ${MANN:S.^.${MANNPREFIX}/man/${lang}/mann/.} .endif +.endfor + .if defined(_MANPAGES) && defined(MANCOMPRESSED) _MANPAGES:= ${_MANPAGES:S/$/.gz/} .endif @@ -981,12 +993,12 @@ _PORT_USE: .USE .if defined(MANCOMPRESSED) && defined(NOMANCOMPRESS) @${ECHO_MSG} "===> Uncompressing manual pages for ${PKGNAME}" .for manpage in ${_MANPAGES} - @${GUNZIP_CMD} ${MANPREFIX}/${manpage} + @${GUNZIP_CMD} ${manpage} .endfor .elif !defined(MANCOMPRESSED) && !defined(NOMANCOMPRESS) @${ECHO_MSG} "===> Compressing manual pages for ${PKGNAME}" .for manpage in ${_MANPAGES} - @${GZIP_CMD} ${MANPREFIX}/${manpage} + @${GZIP_CMD} ${manpage} .endfor .endif .endif |