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