blob: 36f280b476b73b7e176e0f672bb29c8bf9b3c14c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: German manpages
# Date created: 29 September 1997
# Whom: wosch
#
# $FreeBSD$
#
PORTNAME= manpages-de
PORTVERSION= 0.4
CATEGORIES= german
MASTER_SITES= http://www.infodrom.org/projects/manpages-de/download/ \
http://wolfram.schneider.org/src/
MAINTAINER= wosch@FreeBSD.org
COMMENT= German GNU and Linux manual pages
LANG= de.ISO8859-1
NO_WRKSUBDIR= YES
PLIST= ${WRKSRC}/PLIST
mandir= ${PREFIX}/man/${LANG}
manpages= ${PORTNAME}-${PORTVERSION}
do-build:
makewhatis ${WRKSRC}/${manpages}
.if !defined(NOMANCOMPRESS)
${GZIP_CMD} -r ${WRKSRC}/${manpages}/man* || exit 0
.endif
pre-install:
${FIND} ${WRKSRC}/${manpages} -type f -print | \
${SED} "s%${WRKSRC}/${manpages}%man/${LANG}%" > ${PLIST}
do-install:
cd ${WRKSRC}/${manpages}; \
${TAR} cf - . | \
(cd ${mandir}; ${TAR} xf - )
.include <bsd.port.mk>
|