freebsd-ports/editors/e93/Makefile

42 lines
970 B
Makefile
Raw Normal View History

# New ports collection makefile for: e93
# Date created: 21 June 1995
# Whom: Satoshi Asami (asami)
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-14 02:25:54 +02:00
PORTNAME= e93
PORTVERSION= 1.3.4
PORTREVISION= 2
CATEGORIES= editors tcl tk
MASTER_SITES= ftp://ftp.e93.org/pub/
DISTNAME= ${PORTNAME}-1.3r4X
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
2003-02-21 12:38:28 +01:00
COMMENT= A nifty editor based on Tcl/Tk
USE_TCL= 84
USE_TCL_BUILD= 84
USE_TK= 84
USE_TK_BUILD= 84
USE_XORG= x11 xt
WRKSRC= ${WRKDIR}/${PORTNAME}
2003-05-18 12:15:44 +02:00
post-patch:
@${REINPLACE_CMD} 's|wish|wish${TK_VER}|' ${WRKSRC}/e93r
@${REINPLACE_CMD} 's|CFLAGS=|CFLAGS+=$$(TK_INCLUDE) -I${LOCALBASE}/include |' \
${WRKSRC}/Makefile ${WRKSRC}/xgui/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/e93 ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/e93r ${PREFIX}/bin
${MKDIR} ${PREFIX}/lib/e93lib
${CP} -R ${WRKSRC}/e93lib/* ${PREFIX}/lib/e93lib
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README* ${DOCSDIR}
.endif
.include <bsd.port.mk>