pkgsrc/editors/mg2a/Makefile

31 lines
761 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2012/10/03 11:43:37 asau Exp $
2006-06-17 23:42:31 +02:00
DISTNAME= mg2a
PKGNAME= mg2a-1.11
PKGREVISION= 1
CATEGORIES= editors
2006-06-17 23:42:31 +02:00
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
2007-01-07 01:41:29 +01:00
BUILD_TARGET= mg
2007-01-07 01:18:43 +01:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
2009-02-13 12:13:40 +01:00
CONFLICTS+= mg-[0-9]*
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/bsd.pkg.mk"