aboutsummaryrefslogtreecommitdiffstats
path: root/misc/seizedesktop/Makefile
blob: 6c9ebee9aef41f67eeaf39e22b6d2ca5e9af71ea (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
42
# New ports collection makefile for:    JDE's SeizeDesktop
# Date created:     25 March 1999
# Whom:         KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   seizedesktop
PORTVERSION=    0.1a
CATEGORIES+=    misc windowmaker tkstep80
MASTER_SITES=   http://www.aaa-int.or.jp/~jfactory/JDE/dist/
DISTNAME=   SeizeDesktop-${PORTVERSION}
EXTRACT_ONLY=   # extracted directly in install target

MAINTAINER= kiri@pis.toba-cmt.ac.jp

RUN_DEPENDS=    ${RUN_DEP_LIST}
LIB_DEPENDS=    ${LIB_DEP_LIST}

NO_WRKSUBDIR=   yes
NO_BUILD=   yes
USE_X_PREFIX=   yes
SCRIPTS_ENV=    LANG=C LN=${LN} PERL=${PERL} LANGUAGE=${LANGUAGE} VERSION=${TKSTEPVERSION}

# This port is for both misc/seizedesktop and japanese/seizedesktop.
# But misc/seizedesktop and japanese/seizedesktop are mutually exclusive and
# SHOULD NOT BE INSTALLED SIMULTANEOUSLY!
TKSTEPVERSION=  8.0
LANGUAGE?=
.if (${LANGUAGE} == "Japanese")
RUN_DEP_LIST=   ${LOCALBASE}/lib/tkstep8.0jp/tkstep.tcl:${PORTSDIR}/japanese/tkstep80 \
        ${LOCALBASE}/lib/Img1.2/libimg12.so.1:${PORTSDIR}/japanese/libimg
.else
RUN_DEP_LIST=   ${LOCALBASE}/lib/tkstep8.0/tkstep.tcl:${PORTSDIR}/x11-toolkits/tkstep80
LIB_DEP_LIST=   img.1:${PORTSDIR}/graphics/libimg
.endif

do-install:
    ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DISTNAME}.tar.gz \
        ${EXTRACT_AFTER_ARGS} -C ${PREFIX}

.include <bsd.port.mk>