openbsd-ports/editors/nedit/Makefile
ajacoutot c53b18a85d - fix the lesstif FLAVOR
- regen patches while there

ok bernd@
2007-02-19 14:42:15 +00:00

55 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.34 2007/02/19 14:42:15 ajacoutot Exp $
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
COMMENT= "X11/Motif GUI text editor"
DISTNAME= nedit-5.5
DISTFILES= ${DISTNAME}-src.tar.gz wrapmark.diff:0
CATEGORIES= editors x11
EXTRACT_ONLY= ${DISTNAME}-src.tar.gz
MASTER_SITES= http://www.nedit.org/ftp/v5_5/ \
${MASTER_SITE_SOURCEFORGE:=nedit/}
MASTER_SITES0= http://www.obsd.fr/OpenBSD/distfiles/
HOMEPAGE= http://www.nedit.org/
MAINTAINER= Damien Miller <djm@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xext Xp Xpm Xt c m
USE_X11= Yes
USE_MOTIF= Any
ALL_TARGET= openbsd
NO_REGRESS= Yes
FLAVORS= wrapmark
FLAVOR?=
.if ${FLAVOR:L:Mwrapmark}
PATCH_LIST= patch-* ${DISTDIR}/wrapmark.diff
.endif
.if ${FLAVOR:L:Mlesstif}
CFLAGS+= -DBUILD_UNTESTED_NEDIT
.endif
do-install:
${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
${INSTALL_DATA} ${WRKSRC}/doc/NEdit.ad \
${PREFIX}/lib/X11/app-defaults/NEdit
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit
${INSTALL_DATA} ${WRKSRC}/doc/nedit.doc ${PREFIX}/share/doc/nedit
.include <bsd.port.mk>