mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
38 lines
832 B
Makefile
38 lines
832 B
Makefile
# 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= 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}
|
|
|
|
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 <bsd.port.mk>
|