aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/scx/Makefile
blob: a2e6c7fd297d3acd14a48709c51094fa146a577d (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
# New ports collection makefile for:    scx
# Date created:             14 July 2004
# Whom:                 bkhl@elektrubadur.se
#
# $FreeBSD$
#

PORTNAME=   scx
PORTVERSION=    0.2
PORTREVISION=   1
CATEGORIES= x11-toolkits scheme
MASTER_SITES=   ftp://ftp.scsh.net/pub/scsh/packages/scx/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A GUI library for scsh and Scheme 48

RUN_DEPENDS=    ${LOCALBASE}/lib/scsh/scsh-install-pkg:${PORTSDIR}/devel/scsh-install-lib

NO_BUILD=   yes
USE_XLIB=   yes
USE_LDCONFIG=   ${PREFIX}/lib/scsh/0.6/scx-0.2/lib/${MACHINE_ARCH}-portbld-freebsd${OSREL}/

DEPRECATED=     Version branch long since retired
EXPIRATION_DATE=    2007-10-28

PLIST_SUB=  TARGET=${MACHINE_ARCH}-portbld-freebsd${OSREL}

post-patch:
    ${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
            -e 's|echo aout|echo elf|g' \
    ${WRKSRC}/configure

do-install:
    (cd ${WRKSRC}; ${LOCALBASE}/lib/scsh/scsh-install-pkg --prefix=${PREFIX}/lib/scsh)

.include <bsd.port.mk>