mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-09 02:22:18 +00:00
4bc78c6642
PR: ports/159246 Submitted by: Jin-Sih Lin <linpct@gmail.com> Approved by: maintainer timeout (wosch ; 200 days)
41 lines
927 B
Makefile
41 lines
927 B
Makefile
# New ports collection makefile for: German manpages
|
|
# Date created: 29 September 1997
|
|
# Whom: 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= 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(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 <bsd.port.mk>
|