1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/japanese/ng/Makefile
Joe Marcus Clarke 7cf7b646b2 Rename PORTDOCS to MYPORTDOCS to avoid a conflict with the recently added
bsd.port.mk macro.

Submitted by:	Oliver Eikemeier <eikemeier@fillmore-labs.com>
2003-11-07 09:28:14 +00:00

39 lines
985 B
Makefile

# New ports collection makefile for: Ng
# Date created: 18 November 1998
# Whom: Kawaguti Ginga <ginga@athena.club.ne.jp>
#
# $FreeBSD$
#
PORTNAME= ng
PORTVERSION= 1.4.4
CATEGORIES= japanese editors
MASTER_SITES= http://tomato.sakura.ne.jp/~amura/archives/ng/
DISTNAME= ${PORTNAME}-${PORTVERSION}
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= ng-1.4.4-replace_bug.patch
MAINTAINER?= ginga-freebsd@ginganet.org
COMMENT?= A very light Emacs-clone with Japanese support
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-ltermcap"
ALL_TARGET= ng
MYPORTDOCS= CHANGES.1_3 CHANGES.doc Ng.FAQ Ng.doc Ng.ref Ng.tut \
README.Ng README.SKG
post-patch:
@(cd ${WRKSRC}; ${LN} -sf sys/bsd/Makefile . )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ja/ng
.for file in ${MYPORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/ja/ng/${file}.euc-jp
.endfor
.endif
.include <bsd.port.mk>