diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-12-10 04:43:15 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-12-10 04:43:15 +0000 |
commit | 1d7374e0b1f4e1415c3d7974d36a9d626906fb84 (patch) | |
tree | 7b9a009e30a5eeb86621afb48a56a8eb1eeccf94 /japanese | |
parent | Mark BROKEN. Fails while installing bin/inews. (diff) |
Now this port respects the value of ${PREFIX}.
Submitted by: maintainer
PR: 5258
Notes
Notes:
svn path=/head/; revision=9045
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/man-doc/Makefile | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/japanese/man-doc/Makefile b/japanese/man-doc/Makefile index ab5457b9e25d..469918887220 100644 --- a/japanese/man-doc/Makefile +++ b/japanese/man-doc/Makefile @@ -3,7 +3,7 @@ # Date created: 6 January 1997 # Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp> # -# $Id: Makefile,v 1.13 1997/09/24 03:20:10 max Exp $ +# $Id: Makefile,v 1.14 1997/12/08 09:26:42 max Exp $ # DISTNAME= jpman-${VERSION}g @@ -16,34 +16,27 @@ MAINTAINER= kiri@kiri.toba-cmt.ac.jp RUN_DEPENDS= jman:${PORTSDIR}/japanese/man NO_BUILD= yes +WRKSRC= ${WRKDIR}/jpman-${VERSION} +SCRIPTS_ENV= TMPL_FILE=${TMPL_FILE} PKGDIR=${PKGDIR} AWK=${AWK} \ + CAT=${CAT} ECHO=${ECHO} GZIP_CMD="${GZIP_CMD}" \ + RM=${RM} SED=${SED} VERSION= 2.2.2 -JPMANDIR= jpman-${VERSION} -WRKSRC= ${WRKDIR}/${JPMANDIR} +TMPL_FILE= install-man 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 + @${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${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 + @${SETENV} PREFIX=${PREFIX} LANG="${LANG}" ${SH} \ + ${FILESDIR}/install-man NOMANCOMPRESS .endif post-install: @${CAT} ${PKGDIR}/MESSAGE pre-clean: - @${RM} -f ${PKGDIR}/PLIST + @${RM} -f ${FILESDIR}/${TMPL_FILE} ${PKGDIR}/PLIST .include <bsd.port.mk> |