mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
cefd007974
PR: 4375 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.2e
|
|
# Date created: 6 January 1997
|
|
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
|
|
#
|
|
# $Id: Makefile,v 1.9 1997/07/13 18:52:10 max Exp $
|
|
#
|
|
|
|
DISTNAME= jpman-${VERSION}e
|
|
PKGNAME= jp-man-doc-${VERSION}e
|
|
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>
|