# Created by: wosch # $FreeBSD$ PORTNAME= manpages-de PORTVERSION= 0.5 CATEGORIES= german MASTER_SITES= http://www.infodrom.org/projects/manpages-de/download/ \ http://wolfram.schneider.org/src/ MAINTAINER= ports@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} NO_STAGE= yes do-build: makewhatis ${WRKSRC}/${manpages} .if !defined(NO_MANCOMPRESS) ${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