1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/german/manpages/Makefile
Satoshi Asami 37c4cb74f3 Move PLIST generation to do-install. Since do-install is already define
in this Makefile, there wasn't much reason why it was separate anyway.
1998-08-25 01:25:05 +00:00

40 lines
984 B
Makefile

# New ports collection makefile for: German manpages
# Version required: 1.0
# Date created: 29 September 1997
# Whom: wosch
#
# $Id: Makefile,v 1.6 1997/10/03 12:25:15 wosch Exp $
#
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/
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}; \
${EXTRACT_CMD} cf - . | \
(cd ${mandir}; ${EXTRACT_CMD} xf - )
find ${WRKSRC}/${manpages} -type f -print | \
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > \
${WRKSRC}/PLIST
.include <bsd.port.mk>