openbsd-ports/editors/nedit/Makefile
espie 1958137a5f Kill NO_WRKSUBDIR.
Clean up a few deprecated variables on the fly.
2000-02-10 23:14:27 +00:00

37 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2000/02/10 23:14:29 espie Exp $
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
DISTNAME= nedit-5.0.2
CATEGORIES= editors x11
NO_CDROM= "NOFEE: can not charge for distribution"
MAINTAINER= ports@openbsd.org
MASTER_SITES= ftp://ftp.fnal.gov/KITS/pub/nedit/v5_0_2/ \
ftp://ftp.fnal.gov/KITS/pub/nedit/v5_0_2/contrib/
DISTFILES= nedit_source.tar.gz nedit.app-defaults
EXTRACT_ONLY= nedit_source.tar.gz
NEED_VERSION= 1.191
WRKDIST= ${WRKDIR}
LIB_DEPENDS= Xm.1.:${PORTSDIR}/x11/lesstif
USE_X11= yes
ALL_TARGET= openbsd_nedit
post-extract:
@cp ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/source/nedit ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/source/nc ${PREFIX}/bin/ncl
@${INSTALL_MAN} ${WRKSRC}/nedit.man ${PREFIX}/man/man1/nedit.1
@${INSTALL_MAN} ${WRKSRC}/nc.man ${PREFIX}/man/man1/ncl.1
@${INSTALL_DATA} ${WRKSRC}/NEdit.ad ${PREFIX}/lib/X11/app-defaults/NEdit
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nedit
@${INSTALL_DATA} ${WRKSRC}/nedit.doc ${PREFIX}/share/doc/nedit
.include <bsd.port.mk>