2012-10-03 13:43:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2012/10/03 11:43:37 asau Exp $
|
2000-04-01 02:21:25 +02:00
|
|
|
|
2006-06-17 23:42:31 +02:00
|
|
|
DISTNAME= mg2a
|
2000-07-10 20:26:52 +02:00
|
|
|
PKGNAME= mg2a-1.11
|
2012-01-24 21:38:55 +01:00
|
|
|
PKGREVISION= 1
|
2000-04-01 02:21:25 +02:00
|
|
|
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
|
2000-04-01 02:21:25 +02:00
|
|
|
|
2008-05-25 16:45:16 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Small, fast, public domain EMACS style editor
|
2000-04-01 02:21:25 +02:00
|
|
|
|
2007-01-07 01:41:29 +01:00
|
|
|
BUILD_TARGET= mg
|
2007-01-07 01:18:43 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2005-06-16 08:57:37 +02:00
|
|
|
|
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
|
2000-04-01 02:30:53 +02:00
|
|
|
|
2000-04-01 02:21:25 +02:00
|
|
|
do-install:
|
2008-03-03 19:25:52 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mg ${DESTDIR}${PREFIX}/bin/mg
|
2012-01-24 21:38:55 +01:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/mg.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
2008-03-03 19:25:52 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/mg.rc ${DESTDIR}${PREFIX}/bin/mg.rc
|
2000-04-01 02:21:25 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|