mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c919543fe7
now.
40 lines
908 B
Makefile
40 lines
908 B
Makefile
# New ports collection makefile for: German manpages
|
|
# Date created: 29 September 1997
|
|
# Whom: wosch
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= manpages
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= german
|
|
MASTER_SITES= http://www.de.freebsd.org/~wosch/src/ \
|
|
ftp://ftp.Infodrom.North.DE/pub/Linux/Devel/manpages-de/
|
|
DISTFILES= ${manpages}.tgz
|
|
|
|
MAINTAINER= wosch@FreeBSD.org
|
|
|
|
LANG= de_DE.ISO_8859-1
|
|
NO_WRKSUBDIR= YES
|
|
PLIST= ${WRKSRC}/PLIST
|
|
|
|
mandir= ${PREFIX}/man/${LANG}
|
|
manpages= manpages-de
|
|
|
|
do-build:
|
|
${LN} -s ${WRKSRC}/${manpages} ${WRKSRC}/de-man
|
|
makewhatis ${WRKSRC}/de-man
|
|
.if !defined(NOMANCOMPRESS)
|
|
${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/${manpages}; \
|
|
${TAR} cf - . | \
|
|
(cd ${mandir}; ${TAR} xf - )
|
|
find ${WRKSRC}/${manpages} -type f -print | \
|
|
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > \
|
|
${WRKSRC}/PLIST
|
|
|
|
.include <bsd.port.mk>
|