2001-04-07 00:34:43 +00:00
|
|
|
# New ports collection makefile for: accessx
|
|
|
|
# Date created: January 20 2001
|
|
|
|
# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= accessx
|
2001-04-07 04:22:51 +00:00
|
|
|
PORTVERSION= 0.950
|
2002-11-23 00:45:46 +00:00
|
|
|
PORTREVISION= 1
|
2001-04-07 00:34:43 +00:00
|
|
|
CATEGORIES= x11
|
|
|
|
MASTER_SITES= http://www.rehab.uiuc.edu/accessx/software/
|
2001-04-07 04:22:51 +00:00
|
|
|
DISTNAME= accessx${PORTVERSION:S/.//g}
|
2001-04-07 00:34:43 +00:00
|
|
|
|
|
|
|
MAINTAINER= stephen@math.missouri.edu
|
|
|
|
|
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/accessx
|
2002-12-17 04:39:46 +00:00
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_X_PREFIX= yes
|
2001-04-07 00:34:43 +00:00
|
|
|
|
2002-12-17 07:12:24 +00:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} \
|
|
|
|
-e "s@/usr/local@${PREFIX}@" \
|
|
|
|
-e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" \
|
|
|
|
${WRKSRC}/Makefile
|
2002-12-17 04:39:46 +00:00
|
|
|
${REINPLACE_CMD} -e "s@wish -f@wish8.2 -f@g" ${WRKSRC}/accessx
|
2001-04-07 00:34:43 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/bin/ax
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|