openbsd-ports/editors/nedit/Makefile

59 lines
1.5 KiB
Makefile
Raw Normal View History

2012-08-18 08:41:37 -04:00
# $OpenBSD: Makefile,v 1.70 2012/08/18 12:41:38 ajacoutot Exp $
COMMENT= X11/Motif GUI text editor
2001-03-29 05:07:05 -05:00
DISTNAME= nedit-5.5
2010-12-08 07:47:37 -05:00
P_V= 0.5
REVISION= 19
EPOCH= 0
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \
nedit_patterns-${P_V}.tgz:0
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/}
MASTER_SITES0= http://distfiles.nl/
DIST_SUBDIR= nedit
2002-06-13 01:44:57 -04:00
HOMEPAGE= http://www.nedit.org/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# 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
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xft Xmu Xpm Xrender Xt
WANTLIB += c expat fontconfig freetype m z Xm
MODULES= converters/libiconv
2000-03-16 17:32:35 -05: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
2002-10-25 20:39:14 -04:00
NO_REGRESS= Yes
CFLAGS+= -DBUILD_UNTESTED_NEDIT
MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm'
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
${INSTALL_DATA_DIR} ${PREFIX}/share/nedit/patterns
${INSTALL_DATA} ${WRKDIR}/nedit_patterns-${P_V}/*.pats \
${PREFIX}/share/nedit/patterns/
.include <bsd.port.mk>