1997-11-17 12:53:06 +01:00
|
|
|
# New ports collection makefile for: wily
|
|
|
|
# Date created: 23 September 1997
|
|
|
|
# Whom: koshy
|
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1997-11-17 12:53:06 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 02:25:54 +02:00
|
|
|
PORTNAME= wily
|
2006-05-16 16:31:37 +02:00
|
|
|
PORTVERSION= 0.13.42
|
2008-03-25 23:44:48 +01:00
|
|
|
PORTREVISION= 2
|
1999-01-09 04:19:49 +01:00
|
|
|
CATEGORIES= editors plan9
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/baseline/${PORTVERSION}
|
1997-11-17 12:53:06 +01:00
|
|
|
|
2009-12-14 20:57:14 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:38:28 +01:00
|
|
|
COMMENT= A clone of the Plan9 editor `acme'
|
2003-02-05 07:36:11 +01:00
|
|
|
|
2004-11-08 13:29:19 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/bin/rc:${PORTSDIR}/shells/rc \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
${LOCALBASE}/lib/X11/fonts/Xg/unicode.9.font:${PORTSDIR}/x11-fonts/Xg
|
1997-11-17 12:53:06 +01:00
|
|
|
|
2008-03-25 23:44:48 +01:00
|
|
|
USE_XORG= x11 ice xt
|
1997-11-17 12:53:06 +01:00
|
|
|
GNU_CONFIGURE= YES
|
1998-10-16 05:17:47 +02:00
|
|
|
USE_GMAKE= YES
|
2003-02-05 07:36:11 +01:00
|
|
|
MAN1= wgoto.1 win.1 wreplace.1 Tag.1 mktags.1 Man.1
|
2009-11-22 20:49:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2003-02-05 07:36:11 +01:00
|
|
|
|
2004-04-12 22:54:04 +02:00
|
|
|
PORTDOCS= index.html intro.html download.html credits.html FAQ.html \
|
1997-11-17 12:53:06 +01:00
|
|
|
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 \
|
2004-04-12 22:54:04 +02:00
|
|
|
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__ "()",,' \
|
2006-05-16 16:31:37 +02:00
|
|
|
win.c wgoto.c wreplace.c; \
|
|
|
|
${CHMOD} 755 configure mkinstalldirs;
|
2004-08-15 19:44:36 +02:00
|
|
|
|
2004-04-12 22:54:04 +02:00
|
|
|
# Run the configure script in the tools directory.
|
|
|
|
post-configure:
|
|
|
|
@${RM} ${WRKSRC}/tools/win/config.cache
|
2006-07-03 12:43:49 +02:00
|
|
|
cd ${WRKSRC}/tools/win && \
|
|
|
|
${SETENV} CC=${CC} "CFLAGS=${CFLAGS}" \
|
|
|
|
${SH} ./configure --prefix=${PREFIX}
|
1997-11-17 12:53:06 +01:00
|
|
|
|
|
|
|
# The default Wily makefile does not install any documentation. Rectify.
|
|
|
|
post-install:
|
2004-04-12 22:54:04 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/wily
|
1997-11-17 12:53:06 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2004-04-12 22:54:04 +02:00
|
|
|
@${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
|
1997-11-17 12:53:06 +01:00
|
|
|
.endif
|
2003-02-05 07:36:11 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-11-17 12:53:06 +01:00
|
|
|
|
2007-10-04 02:50:28 +02:00
|
|
|
.include <bsd.port.mk>
|