1997-09-30 08:51:09 +02:00
|
|
|
# New ports collection makefile for: German manpages
|
1997-09-29 20:02:05 +02:00
|
|
|
# Version required: 1.0
|
1997-09-29 20:04:04 +02:00
|
|
|
# Date created: 29 September 1997
|
1997-09-29 20:02:05 +02:00
|
|
|
# Whom: wosch
|
|
|
|
#
|
1997-10-03 14:25:15 +02:00
|
|
|
# $Id: Makefile,v 1.5 1997/10/02 05:32:37 asami Exp $
|
1997-09-29 20:02:05 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= de-manpages-1.0
|
|
|
|
CATEGORIES= german
|
1997-10-03 14:25:15 +02:00
|
|
|
MASTER_SITES= http://www.freebsd.org/~wosch/src/ \
|
|
|
|
ftp://ftp.Infodrom.North.DE/pub/Linux/Devel/manpages-de/
|
1997-09-29 20:02:05 +02:00
|
|
|
DISTFILES= ${manpages}.tgz
|
1997-09-30 08:51:09 +02:00
|
|
|
|
1997-09-29 20:02:05 +02:00
|
|
|
MAINTAINER= wosch@FreeBSD.org
|
1997-09-30 08:51:09 +02:00
|
|
|
|
|
|
|
LANG= de_DE.ISO_8859-1
|
1997-09-29 20:02:05 +02:00
|
|
|
NO_WRKSUBDIR= YES
|
1997-10-02 07:32:40 +02:00
|
|
|
PLIST= ${WRKSRC}/PLIST
|
1997-09-29 20:02:05 +02:00
|
|
|
|
|
|
|
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}; \
|
|
|
|
${EXTRACT_CMD} cf - . | \
|
|
|
|
(cd ${mandir}; ${EXTRACT_CMD} xf - )
|
|
|
|
|
1997-10-01 22:55:20 +02:00
|
|
|
post-install:
|
|
|
|
find ${WRKSRC}/${manpages} -type f -print | \
|
1997-10-03 14:25:15 +02:00
|
|
|
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > \
|
1997-10-02 07:32:40 +02:00
|
|
|
${WRKSRC}/PLIST
|
1997-10-01 22:55:20 +02:00
|
|
|
|
1997-09-29 20:02:05 +02:00
|
|
|
.include <bsd.port.mk>
|