freebsd-ports/german/manpages/Makefile

42 lines
999 B
Makefile
Raw Normal View History

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
#
# $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
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
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 - )
post-install:
find ${WRKSRC}/${manpages} -type f -print | \
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > \
${WRKSRC}/PLIST
1997-09-29 20:02:05 +02:00
.include <bsd.port.mk>