2012-10-03 13:43:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2012/10/03 11:43:38 asau Exp $
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2001-03-18 02:16:50 +01:00
|
|
|
DISTNAME= ng-1.4.3
|
2012-03-10 09:20:13 +01:00
|
|
|
PKGREVISION= 2
|
2007-02-22 20:26:05 +01:00
|
|
|
CATEGORIES= editors japanese
|
|
|
|
MASTER_SITES= http://tt.sakura.ne.jp/~amura/archives/ng/
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
MAINTAINER= fk200329@fsinet.or.jp
|
2001-09-07 01:14:30 +02:00
|
|
|
HOMEPAGE= http://tt.sakura.ne.jp/~amura/ng/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Very light Emacs-clone with japanese support
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ng
|
2002-10-25 14:24:36 +02:00
|
|
|
|
2005-10-24 21:48:24 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= canna
|
|
|
|
PKG_SUGGESTED_OPTIONS= canna
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.ng
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2005-10-24 21:48:24 +02:00
|
|
|
.include "../../mk/bsd.options.mk"
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2005-10-24 21:48:24 +02:00
|
|
|
.if !empty(PKG_OPTIONS:Mcanna)
|
2004-04-11 10:25:09 +02:00
|
|
|
.include "../../inputmethod/canna-lib/buildlink3.mk"
|
2005-10-24 21:48:24 +02:00
|
|
|
MAKEFLAGS+= USE_CANNA=YES
|
2012-02-12 15:12:19 +01:00
|
|
|
.else
|
|
|
|
MAKEFLAGS+= USE_CANNA=NO
|
2000-10-20 01:54:37 +02:00
|
|
|
.endif
|
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= ng
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2012-02-12 15:12:19 +01:00
|
|
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
|
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC}; ${LN} -s sys/sysv/Makefile . )
|
|
|
|
.else
|
2000-10-20 01:54:37 +02:00
|
|
|
post-patch:
|
|
|
|
@(cd ${WRKSRC}; ${LN} -s sys/bsd/Makefile . )
|
2012-02-12 15:12:19 +01:00
|
|
|
.endif
|
2000-10-20 01:54:37 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-03 19:25:52 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ng ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ng
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/Ng.FAQ ${DESTDIR}${PREFIX}/share/doc/ng/Ng.FAQ.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/Ng.doc ${DESTDIR}${PREFIX}/share/doc/ng/Ng.doc.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/Ng.ref ${DESTDIR}${PREFIX}/share/doc/ng/Ng.ref.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/Ng.tut ${DESTDIR}${PREFIX}/share/doc/ng/Ng.tut.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/README.Ng ${DESTDIR}${PREFIX}/share/doc/ng/README.Ng.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/README.SKG ${DESTDIR}${PREFIX}/share/doc/ng/README.SKG.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.new ${DESTDIR}${PREFIX}/share/doc/ng/CHANGES.new.euc-jp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.doc ${DESTDIR}${PREFIX}/share/doc/ng/CHANGES.doc.euc-jp
|
2000-10-20 01:54:37 +02:00
|
|
|
|
2012-03-10 09:20:13 +01:00
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
2000-10-20 01:54:37 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|