2012-08-18 08:41:37 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.70 2012/08/18 12:41:38 ajacoutot 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
|
2010-12-08 07:47:37 -05:00
|
|
|
P_V= 0.5
|
2012-04-22 06:49:11 -04:00
|
|
|
REVISION= 19
|
2011-04-14 16:18:01 -04:00
|
|
|
EPOCH= 0
|
2009-12-13 17:39:38 -05:00
|
|
|
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
|
2011-04-08 02:20:35 -04:00
|
|
|
nedit_patterns-${P_V}.tgz:0
|
2007-06-28 08:32:19 -04:00
|
|
|
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/}
|
2011-04-08 02:20:35 -04:00
|
|
|
MASTER_SITES0= http://distfiles.nl/
|
2007-01-05 14:39:40 -05:00
|
|
|
|
2009-12-15 10:33:25 -05:00
|
|
|
DIST_SUBDIR= nedit
|
|
|
|
|
2002-06-13 01:44:57 -04:00
|
|
|
HOMEPAGE= http://www.nedit.org/
|
|
|
|
|
2009-12-15 03:17:16 -05:00
|
|
|
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
|
|
|
|
2009-12-13 17:39:38 -05:00
|
|
|
# GPLv2
|
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
|
|
|
|
2010-04-24 16:18:39 -04:00
|
|
|
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xft Xmu Xpm Xrender Xt
|
2011-04-10 14:00:23 -04:00
|
|
|
WANTLIB += c expat fontconfig freetype m z Xm
|
2009-12-15 03:17:16 -05:00
|
|
|
|
|
|
|
MODULES= converters/libiconv
|
2000-03-16 17:32:35 -05:00
|
|
|
|
2011-04-10 14:00:23 -04:00
|
|
|
LIB_DEPENDS+= x11/openmotif
|
|
|
|
|
2010-11-15 18:22:07 -05:00
|
|
|
USE_GROFF = Yes
|
2002-06-13 01:44:57 -04:00
|
|
|
ALL_TARGET= openbsd
|
1998-07-15 23:40:48 -04:00
|
|
|
|
2002-10-25 20:39:14 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2009-12-15 10:33:25 -05:00
|
|
|
CFLAGS+= -DBUILD_UNTESTED_NEDIT
|
2011-04-10 14:00:23 -04:00
|
|
|
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
|
2007-02-19 09:42:15 -05:00
|
|
|
|
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
|
2009-12-13 17:39:38 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/nedit/patterns
|
2010-02-27 10:03:39 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/nedit_patterns-${P_V}/*.pats \
|
2009-12-15 10:33:25 -05:00
|
|
|
${PREFIX}/share/nedit/patterns/
|
1998-05-06 03:03:18 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|