2009-11-08 11:24:34 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2009/11/08 16:24:34 jasper Exp $
|
1999-04-01 01:20:02 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
|
1998-05-06 03:03:18 -04:00
|
|
|
|
2007-09-15 20:44:00 -04:00
|
|
|
COMMENT= X11/Motif GUI text editor
|
2001-03-29 05:07:05 -05:00
|
|
|
|
2006-11-04 14:19:15 -05:00
|
|
|
DISTNAME= nedit-5.5
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p6
|
2007-06-28 08:32:19 -04:00
|
|
|
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX}
|
|
|
|
PATCHFILES= wrapmark.diff:0
|
2002-06-13 01:44:57 -04:00
|
|
|
CATEGORIES= editors x11
|
2002-10-25 20:39:14 -04:00
|
|
|
|
2004-10-17 17:23:50 -04:00
|
|
|
MASTER_SITES= http://www.nedit.org/ftp/v5_5/ \
|
|
|
|
${MASTER_SITE_SOURCEFORGE:=nedit/}
|
1998-10-08 19:15:42 -04:00
|
|
|
|
2007-10-27 19:44:41 -04:00
|
|
|
MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
|
2007-01-05 14:39:40 -05:00
|
|
|
|
2002-06-13 01:44:57 -04:00
|
|
|
HOMEPAGE= http://www.nedit.org/
|
|
|
|
|
2000-03-16 17:32:35 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-13 09:06:21 -05:00
|
|
|
|
|
|
|
WANTLIB= Xau Xdmcp Xft Xmu Xrender expat fontconfig freetype \
|
2009-08-10 02:29:51 -04:00
|
|
|
ICE SM X11 Xext Xp Xpm Xt c m iconv pthread-stubs xcb z
|
2000-03-16 17:32:35 -05:00
|
|
|
|
2006-11-11 16:04:27 -05:00
|
|
|
USE_X11= Yes
|
2002-06-13 01:44:57 -04:00
|
|
|
USE_MOTIF= Any
|
|
|
|
ALL_TARGET= openbsd
|
1998-07-15 23:40:48 -04:00
|
|
|
|
2002-10-25 20:39:14 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2007-01-05 14:39:40 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
2007-02-19 09:42:15 -05:00
|
|
|
CFLAGS+= -DBUILD_UNTESTED_NEDIT
|
|
|
|
|
2009-11-08 11:24:34 -05:00
|
|
|
# gcc 3.3.5 internal compiler error
|
|
|
|
.if ${MACHINE_ARCH} == "mips64"
|
|
|
|
EXTRA_CFLAGS= -O0
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MAKE_FLAGS+= EXTRA_CFLAGS=${EXTRA_CFLAGS}
|
|
|
|
|
1998-07-15 23:40:48 -04:00
|
|
|
do-install:
|
2001-10-31 03:03:18 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/source/nedit ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/source/nc ${PREFIX}/bin/ncl
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/nedit.man ${PREFIX}/man/man1/nedit.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/nc.man ${PREFIX}/man/man1/ncl.1
|
2002-06-13 01:44:57 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/NEdit.ad \
|
|
|
|
${PREFIX}/lib/X11/app-defaults/NEdit
|
2000-06-09 16:10:30 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit
|
2001-10-31 03:03:18 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/nedit.doc ${PREFIX}/share/doc/nedit
|
1998-05-06 03:03:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|