Now this port respects the value of ${PREFIX}.
Submitted by: maintainer PR: 5258
This commit is contained in:
parent
0c8193090b
commit
1d7374e0b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9045
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user