pkgsrc/editors/mg2a/Makefile

32 lines
801 B
Makefile
Raw Normal View History

2021-04-21 10:20:45 +02:00
# $NetBSD: Makefile,v 1.17 2021/04/21 08:20:45 wiz Exp $
2006-06-17 23:42:31 +02:00
DISTNAME= mg2a
PKGNAME= mg2a-1.11
PKGREVISION= 2
CATEGORIES= editors
2021-04-21 10:20:45 +02:00
MASTER_SITES= # ftp://ftp.wustl.edu/languages/c/unix-c/editors/
2006-06-17 23:42:31 +02:00
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Small, fast, public domain EMACS style editor
2007-01-07 01:41:29 +01:00
BUILD_TARGET= mg
2007-01-07 01:18:43 +01:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
CONFLICTS+= mg-[0-9]*
2009-02-13 12:13:40 +01:00
2007-01-07 01:41:29 +01:00
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"