openbsd-ports/editors/nedit/Makefile

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2001/04/18 15:01:09 espie Exp $
# $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $
COMMENT= "X11/Motif GUI text editor"
DISTNAME= nedit-5.1.1
CATEGORIES= editors x11
NEED_VERSION= 1.400
MAINTAINER= Oleg Safiullin <form@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
HOMEPAGE= http://www.nedit.org/
DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} nedit-5.1.app-defaults:0
EXTRACT_ONLY= ${DISTNAME}-src${EXTRACT_SUFX}
DIST_SUBDIR= nedit
MASTER_SITES= ftp://ftp.nedit.org/pub/v5_1_1/
MASTER_SITES0= ftp://ftp.nedit.org/pub/contrib/misc/
USE_MOTIF= any
ALL_TARGET= openbsd
post-extract:
@cp ${DISTDIR}/${DIST_SUBDIR}/nedit-5.1.app-defaults ${WRKSRC}/NEdit.ad
@cp ${FILESDIR}/Makefile.openbsd ${WRKSRC}/makefiles
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>