0d8f47d8f7
at that time and no PRs have been submitted to fix it.
74 lines
2.1 KiB
Makefile
74 lines
2.1 KiB
Makefile
# New ports collection makefile for: ja-mozilla-jlp-devel
|
|
# Date created: 02 Jul 2000
|
|
# Whom: Yoichi ASAI <yatt@luna2.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mozilla
|
|
PORTVERSION= 1.8.b1
|
|
PORTREVISION= 0
|
|
CATEGORIES= japanese www
|
|
MASTER_SITES= ftp://ftp.mozilla-japan.org/pub/mozilla-japan/mozilla/development/1.8b1/
|
|
PKGNAMESUFFIX= -jlp
|
|
DISTNAME= mozilla-1.8b1-langjajp-1
|
|
EXTRACT_SUFX= .xpi
|
|
|
|
MAINTAINER= fortune@n.jpn.ph
|
|
COMMENT= Mozilla Japanese Language Pack (JLP)
|
|
|
|
BUILD_DEPENDS= ${X11BASE}/lib/${MOZILLA}/regxpcom:${PORTSDIR}/www/${MOZILLA}
|
|
RUN_DEPENDS= ${MOZILLA}:${PORTSDIR}/www/${MOZILLA} \
|
|
${PKG_DBDIR}/ja-alias-fonts-1.0:${PORTSDIR}/japanese/alias-fonts
|
|
|
|
BROKEN= Incorrect pkg-plist
|
|
DEPRECATED= ${BROKEN}
|
|
EXPIRATION_DATE=2005-09-22
|
|
|
|
WRKSRC= ${WRKDIR}/bin
|
|
|
|
LATEST_LINK= ja-mozilla-jlp-devel
|
|
USE_X_PREFIX= yes
|
|
USE_ZIP= yes
|
|
EXTRACT_BEFORE_ARGS= -qo
|
|
|
|
MOZILLA= mozilla-devel
|
|
PLIST_SUB= MOZILLA=${MOZILLA}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 450002
|
|
LOCALENAME= ja_JP.eucJP
|
|
.elif ${OSVERSION} >= 400020
|
|
LOCALENAME= ja_JP.EUC
|
|
.else
|
|
LOCALENAME= ja_JP.EUC
|
|
.endif
|
|
|
|
do-build:
|
|
${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \
|
|
-e "s^%%LOCALBASE%%^${LOCALBASE}^g" \
|
|
-e "s^%%LOCALENAME%%^${LOCALENAME}^g" \
|
|
-e "s^%%MOZILLA%%^${MOZILLA}^g" \
|
|
${FILESDIR}/mozilla.sh > ${WRKDIR}/${MOZILLA}
|
|
|
|
do-install:
|
|
(cd ${PREFIX}/lib/${MOZILLA}/chrome; \
|
|
${MV} -f installed-chrome.txt installed-chrome.txt.orig)
|
|
${MV} -f ${PREFIX}/bin/${MOZILLA} ${PREFIX}/bin/${MOZILLA}.orig
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${MOZILLA} ${PREFIX}/bin
|
|
(cd ${WRKDIR}/sp; ${TAR} -cf - *) | \
|
|
${TAR} -xf - -C ${PREFIX}/lib/${MOZILLA}/searchplugins
|
|
# (cd ${WRKDIR}/sp_nomac; ${TAR} -cf - *) | \
|
|
# ${TAR} -xf - -C ${PREFIX}/lib/${MOZILLA}/searchplugins
|
|
(cd ${WRKSRC}; ${TAR} -cf - chrome defaults) | \
|
|
${TAR} -xf - -C ${PREFIX}/lib/${MOZILLA}
|
|
(cd ${PREFIX}/lib/${MOZILLA}/chrome; \
|
|
${CP} installed-chrome.txt.orig installed-chrome.txt; \
|
|
${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
|
|
(cd ${PREFIX}/lib/${MOZILLA}; \
|
|
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \
|
|
${SETENV} LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|