freebsd-ports/german/manpages/Makefile

41 lines
927 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:04:04 +02:00
# Date created: 29 September 1997
1997-09-29 20:02:05 +02:00
# Whom: wosch
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
1997-09-29 20:02:05 +02:00
#
PORTNAME= manpages-de
PORTVERSION= 0.4
1997-09-29 20:02:05 +02:00
CATEGORIES= german
MASTER_SITES= http://www.infodrom.org/projects/manpages-de/download/ \
http://wolfram.schneider.org/src/
1997-09-30 08:51:09 +02:00
2001-02-06 14:13:16 +01:00
MAINTAINER= wosch@FreeBSD.org
2003-03-05 13:47:22 +01:00
COMMENT= German GNU and Linux manual pages
1997-09-30 08:51:09 +02:00
LANG= de.ISO8859-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= ${PORTNAME}-${PORTVERSION}
1997-09-29 20:02:05 +02:00
do-build:
makewhatis ${WRKSRC}/${manpages}
.if !defined(NO_MANCOMPRESS)
1997-09-29 20:02:05 +02:00
${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0
.endif
pre-install:
${RM} -rf ${WRKSRC}/${manpages}/debian
${FIND} ${WRKSRC}/${manpages} -type f -print | \
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > ${PLIST}
1997-09-29 20:02:05 +02:00
do-install:
cd ${WRKSRC}/${manpages}; \
${TAR} cf - . | \
(cd ${mandir}; ${TAR} xf - )
1997-09-29 20:02:05 +02:00
.include <bsd.port.mk>