2013-09-20 20:47:54 +02:00
|
|
|
# Created by: Kawaguti Ginga <ginga@athena.club.ne.jp>
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1998-11-21 04:27:53 +01:00
|
|
|
|
2000-04-11 16:15:53 +02:00
|
|
|
PORTNAME= ng
|
2003-06-18 17:23:59 +02:00
|
|
|
PORTVERSION= 1.4.4
|
2008-10-26 21:30:42 +01:00
|
|
|
PORTREVISION= 2
|
2000-12-11 04:13:32 +01:00
|
|
|
CATEGORIES= japanese editors
|
2003-06-18 17:23:59 +02:00
|
|
|
MASTER_SITES= http://tomato.sakura.ne.jp/~amura/archives/ng/
|
1998-11-21 04:27:53 +01:00
|
|
|
|
2003-06-18 17:23:59 +02:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
|
|
PATCHFILES= ng-1.4.4-replace_bug.patch
|
|
|
|
|
|
|
|
MAINTAINER?= ginga-freebsd@ginganet.org
|
2013-10-31 05:17:29 +01:00
|
|
|
COMMENT?= Light Emacs-clone with Japanese support
|
2000-12-11 04:13:32 +01:00
|
|
|
|
2007-02-20 17:57:51 +01:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LIBS}"
|
|
|
|
LIBS= -ltermcap
|
|
|
|
|
1998-11-21 04:27:53 +01:00
|
|
|
ALL_TARGET= ng
|
|
|
|
|
2007-02-20 17:57:51 +01:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME}
|
|
|
|
|
2003-11-07 10:28:14 +01:00
|
|
|
MYPORTDOCS= CHANGES.1_3 CHANGES.doc Ng.FAQ Ng.doc Ng.ref Ng.tut \
|
2000-12-11 04:13:32 +01:00
|
|
|
README.Ng README.SKG
|
2007-02-20 17:57:51 +01:00
|
|
|
PORTDOCS= ${MYPORTDOCS:C/$/.euc-jp/}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/ng
|
|
|
|
|
2013-09-20 20:47:54 +02:00
|
|
|
NO_STAGE= yes
|
2007-02-20 17:57:51 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_CANNA)
|
2008-10-26 21:30:42 +01:00
|
|
|
LIB_DEPENDS+= canna.1:${PORTSDIR}/japanese/canna-lib
|
2007-02-20 17:57:51 +01:00
|
|
|
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include -DCANNA
|
|
|
|
LIBS+= -L${LOCALBASE}/lib -lcanna
|
|
|
|
.endif
|
2000-12-11 04:13:32 +01:00
|
|
|
|
1998-11-21 04:27:53 +01:00
|
|
|
post-patch:
|
2007-09-09 08:51:09 +02:00
|
|
|
@(cd ${WRKSRC}; ${LN} -sf sys/sysv/Makefile . )
|
1998-11-21 04:27:53 +01:00
|
|
|
|
|
|
|
do-install:
|
2000-12-11 04:13:32 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin
|
1998-11-21 04:27:53 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-02-20 17:57:51 +01:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-11-07 10:28:14 +01:00
|
|
|
.for file in ${MYPORTDOCS}
|
2007-02-20 17:57:51 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}/${file}.euc-jp
|
2000-12-11 04:13:32 +01:00
|
|
|
.endfor
|
1998-11-21 04:27:53 +01:00
|
|
|
.endif
|
|
|
|
|
2007-02-20 17:57:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|