aboutsummaryrefslogtreecommitdiffstats
path: root/russian/netscape4.language/Makefile
blob: 8a874405da58b5b964bf894ad55dcb6db17b1360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for: netscape.language
# Version required:     3.0b4
# Date created:         8 Apr 1996
# Whom:                 ache
#
# $Id: Makefile,v 1.3 1996/05/23 01:43:41 ache Exp $
#

PKGNAME=        ru-netscape-3.0b4
CATEGORIES+=    russian www x11

MAINTAINER= ache@FreeBSD.ORG

RUN_DEPENDS += ${X11BASE}/lib/X11/nls/ru_SU.KOI8-R:${PORTSDIR}/russian/X.language
RUN_DEPENDS += netscape:${PORTSDIR}/www/netscape3

RESTRICTED=     "Includes a copyrighted file from Netscape."
NO_PATCH=       YES
NO_EXTRACT=     YES
NO_CONFIGURE=   YES
NO_BUILD=       YES
NO_WRKDIR=      YES
USE_X11=        YES

APPDEF = ${X11BASE}/lib/X11/app-defaults

# no distfile to fetch
do-fetch:

do-install:
    if [ -f ${APPDEF}/Netscape ] ; then \
        grep -q '\.version:.*3\.0b4$$' ${APPDEF}/Netscape || \
            rm ${APPDEF}/Netscape; \
    fi
    if [ ! -f ${APPDEF}/Netscape ] ; then \
        cp /usr/local/lib/netscape/Netscape.ad ${APPDEF}/Netscape; \
    fi
    cd ${APPDEF}; grep -q koi8 Netscape || \
        patch < ${FILESDIR}/koi8-r_patch;

.include <bsd.port.mk>