aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/ng-canna/Makefile29
-rw-r--r--japanese/ng-canna/distinfo1
-rw-r--r--japanese/ng-canna/pkg-descr2
-rw-r--r--japanese/ng-canna/pkg-plist5
4 files changed, 10 insertions, 27 deletions
diff --git a/japanese/ng-canna/Makefile b/japanese/ng-canna/Makefile
index aacf611f48db..fb16d49647f8 100644
--- a/japanese/ng-canna/Makefile
+++ b/japanese/ng-canna/Makefile
@@ -5,30 +5,17 @@
# $FreeBSD$
#
-PORTNAME= ng
-PORTVERSION= 1.3L
PKGNAMESUFFIX= -canna
-CATEGORIES= japanese editors
-MASTER_SITES= http://www3.tky.3web.ne.jp/~quiver/ng/
-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}canna1.0.2
-MAINTAINER= honda@kashio.info.mie-u.ac.jp
-
-LIB_DEPENDS= canna:${PORTSDIR}/japanese/Canna
+MASTERDIR= ${.CURDIR}/../ng
+COMMENT= ${.CURDIR}/pkg-comment
+DESCR= ${.CURDIR}/pkg-descr
-WRKSRC= ${WRKDIR}/${PORTNAME}
-ALL_TARGET= ng
+LIB_DEPENDS= canna.1:${PORTSDIR}/japanese/Canna
-post-patch:
- @(cd ${WRKSRC} ; $(LN) -s sys/bsd/Makefile.canna ./Makefile )
+.include "${MASTERDIR}/Makefile"
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin/
-
-post-install:
- ${MKDIR} ${PREFIX}/share/doc/ja/ng
- ${INSTALL_DATA} ${WRKSRC}/doc/Ng.doc ${PREFIX}/share/doc/ja/ng/Ng.doc.euc-jp
- ${INSTALL_DATA} ${WRKSRC}/doc/Ng.ref ${PREFIX}/share/doc/ja/ng/Ng.ref.euc-jp
- ${INSTALL_DATA} ${WRKSRC}/doc/Ng.tut ${PREFIX}/share/doc/ja/ng/Ng.tut.euc-jp
+MAINTAINER= honda@kashio.info.mie-u.ac.jp
-.include <bsd.port.mk>
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include -DCANNA" \
+ LIBS="-L${LOCALBASE}/lib -lcanna -ltermcap"
diff --git a/japanese/ng-canna/distinfo b/japanese/ng-canna/distinfo
deleted file mode 100644
index 58e6fba04891..000000000000
--- a/japanese/ng-canna/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (ng13Lcanna1.0.2.tar.gz) = 3f8b2917a79faf50f2d3dcdfa630d518
diff --git a/japanese/ng-canna/pkg-descr b/japanese/ng-canna/pkg-descr
index fbb0aa1c6e0c..694875c4497b 100644
--- a/japanese/ng-canna/pkg-descr
+++ b/japanese/ng-canna/pkg-descr
@@ -4,3 +4,5 @@ version 2a and support Japanese encoding (EUC-JP, SHIFT-JIS, JIS).
This port supports Canna Japanese kana-kanji conversion. If you want
to use Canna, set environment variable CANNAHOST to the hostname of
your Canna server.
+
+WWW: http://ha3.seikyou.ne.jp/home/amura/ng/
diff --git a/japanese/ng-canna/pkg-plist b/japanese/ng-canna/pkg-plist
deleted file mode 100644
index a82961b4840d..000000000000
--- a/japanese/ng-canna/pkg-plist
+++ /dev/null
@@ -1,5 +0,0 @@
-bin/ng
-share/doc/ja/ng/Ng.doc.euc-jp
-share/doc/ja/ng/Ng.ref.euc-jp
-share/doc/ja/ng/Ng.tut.euc-jp
-@dirrm share/doc/ja/ng