openbsd-ports/editors/nedit/Makefile

55 lines
1.4 KiB
Makefile
Raw Normal View History

2009-11-08 11:24:34 -05:00
# $OpenBSD: Makefile,v 1.45 2009/11/08 16:24:34 jasper Exp $
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
COMMENT= X11/Motif GUI text editor
2001-03-29 05:07:05 -05:00
DISTNAME= nedit-5.5
PKGNAME= ${DISTNAME}p6
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
MASTER_SITES= http://www.nedit.org/ftp/v5_5/ \
${MASTER_SITE_SOURCEFORGE:=nedit/}
2007-10-27 19:44:41 -04:00
MASTER_SITES0= http://www.bsdfrog.org/OpenBSD/distfiles/
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 \
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
2002-10-25 20:39:14 -04:00
NO_REGRESS= Yes
FLAVOR?=
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}
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
.include <bsd.port.mk>