mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
2ef134bdac
PR: 4616 Submitted by: maintainer
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# New ports collection makefile for: Japanese man documents
|
|
# Version required: 2.2.2f
|
|
# Date created: 6 January 1997
|
|
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
#
|
|
# $Id: Makefile,v 1.12 1997/09/16 10:51:18 max Exp $
|
|
#
|
|
|
|
DISTNAME= jpman-${VERSION}f
|
|
PKGNAME= ja-man-doc-${VERSION}f
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/
|
|
|
|
MAINTAINER= kiri@kiri.toba-cmt.ac.jp
|
|
|
|
RUN_DEPENDS= jman:${PORTSDIR}/japanese/man
|
|
|
|
NO_BUILD= yes
|
|
|
|
VERSION= 2.2.2
|
|
JPMANDIR= jpman-${VERSION}
|
|
WRKSRC= ${WRKDIR}/${JPMANDIR}
|
|
|
|
do-install:
|
|
.if !defined(NOMANCOMPRESS)
|
|
@${SETENV} LANG="${LANG}" PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
|
|
PKGDIR=${PKGDIR} DISTDIR=${DISTDIR} DISTFILES=${DISTFILES} \
|
|
JPMANDIR=${JPMANDIR} EXTRACT_CMD=${EXTRACT_CMD} \
|
|
ECHO=${ECHO} RM=${RM} AWK=${AWK} \
|
|
GZIP_CMD="${GZIP_CMD}" SED=${SED} \
|
|
INSTALL_MAN="${INSTALL_MAN}" ${SH} \
|
|
${FILESDIR}/install-man MANCOMPRESSED
|
|
.else
|
|
@${SETENV} LANG="${LANG}" PREFIX=${PREFIX} WRKSRC=${WRKSRC} \
|
|
PKGDIR=${PKGDIR} DISTDIR=${DISTDIR} \
|
|
DISTFILES=${DISTFILES} JPMANDIR=${JPMANDIR} \
|
|
EXTRACT_CMD=${EXTRACT_CMD} ECHO=${ECHO} RM=${RM} \
|
|
AWK=${AWK} GZIP_CMD="${GZIP_CMD}" SED=${SED} \
|
|
INSTALL_MAN="${INSTALL_MAN}" ${SH} \
|
|
${FILESDIR}/install-man NOMANCOMPRESS
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
pre-clean:
|
|
@${RM} -f ${PKGDIR}/PLIST
|
|
|
|
.include <bsd.port.mk>
|