openbsd-ports/editors/nedit/Makefile

37 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 1998/10/20 08:39:45 form 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= form@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
LIB_DEPENDS= Xm.1.:${PORTSDIR}/x11/lesstif
USE_X11= yes
NO_WRKSUBDIR= 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} -d ${PREFIX}/share/doc/nedit
@${INSTALL_DATA} ${WRKSRC}/nedit.doc ${PREFIX}/share/doc/nedit
.include <bsd.port.mk>