freebsd-ports/editors/wily/Makefile

66 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: wily
# Date created: 23 September 1997
# Whom: koshy
#
1999-08-25 07:57:29 +02:00
# $FreeBSD$
#
2000-04-14 02:25:54 +02:00
PORTNAME= wily
PORTVERSION= 0.13.42
PORTREVISION= 1
CATEGORIES= editors plan9
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= serge.gagnon.1@ulaval.ca
2003-02-21 12:38:28 +01:00
COMMENT= A clone of the Plan9 editor `acme'
RUN_DEPENDS= ${LOCALBASE}/bin/rc:${PORTSDIR}/shells/rc \
${X11BASE}/lib/X11/fonts/Xg/unicode.9.font:${PORTSDIR}/x11-fonts/Xg
1998-11-28 10:07:24 +01:00
USE_XLIB= YES
GNU_CONFIGURE= YES
1998-10-16 05:17:47 +02:00
USE_GMAKE= YES
MAN1= wgoto.1 win.1 wreplace.1 Tag.1 mktags.1 Man.1
PORTDOCS= index.html intro.html download.html credits.html FAQ.html \
onepage.html user.html idioms.html C.html python.html \
1998-09-07 06:11:07 +02:00
hack.html AcmeVsWily.html Tcl.html \
pythonpaper.html winmanager.html auug.html one.html \
example.gif thumb.gif cartoon.gif \
FAQ.txt Tcl.txt changes.txt perl.txt \
Credits fonts mouse
TUTEDOCS= hello.c start typescript
TUTESHS= findword script send_to_gary
2004-08-15 19:44:36 +02:00
post-patch:
cd ${WRKSRC}/tools/win; ${REINPLACE_CMD} -e 's," in " __FUNCTION__ "()",,' \
win.c wgoto.c wreplace.c; \
${CHMOD} 755 configure mkinstalldirs;
2004-08-15 19:44:36 +02:00
# Run the configure script in the tools directory.
post-configure:
@${RM} ${WRKSRC}/tools/win/config.cache
cd ${WRKSRC}/tools/win && \
${SETENV} CC=${CC} "CFLAGS=${CFLAGS}" \
${SH} ./configure --prefix=${PREFIX}
# The default Wily makefile does not install any documentation. Rectify.
post-install:
@${STRIP_CMD} ${PREFIX}/bin/wily
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/tute
. for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/Doc/${doc} ${DOCSDIR}
. endfor
. for doc in ${TUTEDOCS}
@${INSTALL_DATA} ${WRKSRC}/Doc/tute/${doc} ${DOCSDIR}/tute
. endfor
. for doc in ${TUTESHS}
@${INSTALL_SCRIPT} ${WRKSRC}/Doc/tute/${doc} ${DOCSDIR}/tute
. endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>