1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/german/manpages/Makefile
Wolfram Schneider ea14c7a166 Don't install man sub-directory 'debian'. It has less value
and unlike the man* and cat* sub-directories, it will not be
de-installed by the ports scripts.
2005-02-16 16:21:28 +00:00

41 lines
926 B
Makefile

# New ports collection makefile for: German manpages
# Date created: 29 September 1997
# Whom: wosch
#
# $FreeBSD$
#
PORTNAME= manpages-de
PORTVERSION= 0.4
CATEGORIES= german
MASTER_SITES= http://www.infodrom.org/projects/manpages-de/download/ \
http://wolfram.schneider.org/src/
MAINTAINER= wosch@FreeBSD.org
COMMENT= German GNU and Linux manual pages
LANG= de.ISO8859-1
NO_WRKSUBDIR= YES
PLIST= ${WRKSRC}/PLIST
mandir= ${PREFIX}/man/${LANG}
manpages= ${PORTNAME}-${PORTVERSION}
do-build:
makewhatis ${WRKSRC}/${manpages}
.if !defined(NOMANCOMPRESS)
${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0
.endif
pre-install:
${RM} -rf ${WRKSRC}/${manpages}/debian
${FIND} ${WRKSRC}/${manpages} -type f -print | \
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > ${PLIST}
do-install:
cd ${WRKSRC}/${manpages}; \
${TAR} cf - . | \
(cd ${mandir}; ${TAR} xf - )
.include <bsd.port.mk>