pkgsrc/editors/mg2a/Makefile
2007-01-07 00:41:29 +00:00

27 lines
682 B
Makefile

# $NetBSD: Makefile,v 1.9 2007/01/07 00:41:29 rillig Exp $
DISTNAME= mg2a
PKGNAME= mg2a-1.11
CATEGORIES= editors
MASTER_SITES= ftp://ftp.wustl.edu/languages/c/unix-c/editors/
EXTRACT_SUFX= .tar.Z
MAINTAINER= tron@NetBSD.org
COMMENT= Small, fast, public domain EMACS style editor
BUILD_TARGET= mg
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
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 ${PREFIX}/bin/mg
${INSTALL_MAN} ${WRKSRC}/mg.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/mg.rc ${PREFIX}/bin/mg.rc
.include "../../mk/bsd.pkg.mk"