aboutsummaryrefslogtreecommitdiff
path: root/x11/accessx/Makefile
blob: e1fa1647fd84554a1595698bd65e221dbcd3178c (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:	accessx
# Date created:				January 20 2001
# Whom:					Stephen Montgomery-Smith <stephen@math.missouri.edu>
#
# $FreeBSD$
#

PORTNAME=	accessx
PORTVERSION=	0.951
PORTREVISION=	4
CATEGORIES=	x11 accessibility
MASTER_SITES=	http://cmos-eng.rehab.uiuc.edu/accessx/software/
DISTNAME=	accessx${PORTVERSION:S/.//g}

MAINTAINER=	stephen@math.missouri.edu
COMMENT=	Customise accessibility features for X

USE_TK=		yes

USE_XORG=	xext
WRKSRC=		${WRKDIR}/accessx

PLIST_FILES=	bin/ax bin/accessx

post-patch:
	${REINPLACE_CMD} \
		-e "s@/usr/local@${PREFIX}@" \
		-e "s@/usr/X11R6/lib@${X11BASE}/lib@" \
		-e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" \
		${WRKSRC}/Makefile
	@${REINPLACE_CMD} -e "s@wish -f@${WISH} -f@g" ${WRKSRC}/accessx

post-install:
	${STRIP_CMD} ${PREFIX}/bin/ax

.include <bsd.port.mk>