pkgsrc/editors/mg2a/Makefile
2021-04-21 08:20:45 +00:00

31 lines
801 B
Makefile

# $NetBSD: Makefile,v 1.17 2021/04/21 08:20:45 wiz Exp $
DISTNAME= mg2a
PKGNAME= mg2a-1.11
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= # ftp://ftp.wustl.edu/languages/c/unix-c/editors/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Small, fast, public domain EMACS style editor
BUILD_TARGET= mg
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CONFLICTS+= mg-[0-9]*
pre-configure:
set -e; cd ${WRKSRC}; \
case ${OPSYS} in \
SunOS) cp sys/sysv/Makefile . ;; \
*) cp sys/bsd/Makefile . ;; \
esac
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mg ${DESTDIR}${PREFIX}/bin/mg
${INSTALL_MAN} ${FILESDIR}/mg.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/mg.rc ${DESTDIR}${PREFIX}/bin/mg.rc
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"