Commit graph

41 commits

Author SHA1 Message Date
joerg
ccd7e56ff4 Replace use of traditional CPP with AWK. This fixes one expansion bug
and additionally works with clang. Discussed with obache.
2012-07-03 17:44:39 +00:00
roy
50c998f447 Fix tparm calls to the POSIX standard.
Remove non-standard resetterm call as it calls reset_shell_mode anyway.
2011-12-07 16:05:59 +00:00
obache
ed8b73e129 Drop dependency on nbitools.
nbitools is not enough to maintain for recent platforms and no good support for
user-destdir (now, canna-lib and canna-canuum is user-destdir ready)

no objection in tech-pkg-ja@ about three months.
2010-05-28 11:06:34 +00:00
obache
44383f944a Add comments about "used by". 2010-02-20 10:41:59 +00:00
obache
16d621267c META_PACKAGE should be set to "yes". 2010-02-20 10:39:01 +00:00
joerg
69ca732749 Use META_PACKAGE. 2009-04-08 23:05:45 +00:00
obache
4c46989492 Need CANNA_SPOOL at configure phase to generate cannaconf.h, it's for ERRDIR.
Add CANNA_ENV to SCRIPTS_ENV for imake.

This is only affect to canna-server, as reported by MOCHIDA Shuji by PR 40349.
Bump PKGREVISION of canna-server package.
2009-01-10 05:13:01 +00:00
taca
1a116e4c6e Bump PKGREVISION of inputmethod/canna* packages. 2008-09-18 12:35:27 +00:00
taca
eff33425fd Add a one line patch which fix crash problem of cannaserver.
This change is alreay exists in Canna's CVS repositry.

It was reported by Hiroshi SAKURAI on netbsd mailing list in Japan.
2008-09-18 12:33:44 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
tnn
77dd254266 Honour PKGMANDIR 2008-05-20 18:53:17 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00
jlam
38c496d6c0 Re-add "intentionally empty" PLISTs for meta-packages and other packages
that directly manipulate empty PLISTs.

Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
2007-10-25 17:49:45 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
jlam
07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
jlam
366f3b7f81 * Convert to USE_TOOLS+=itools instead of including nbitools/buildlink3.mk.
* Fully convert to the pkginstall framework by using it to manage
  directories required at install time.

* Rewrite the canna rc.d script to ensure that all needed directories
  are present before the daemon is started.

* Miscellaneous touch ups to the DESCR and MESSAGE files.

* Remove the need to explicitly set PREFIX.  These packages now install
  into ${LOCALBASE} and use symlinks and file copies to put the files
  into the ${IMDICTDIR}.

Bump the PKGREVISIONs for the canna* packages.
2006-07-05 04:48:28 +00:00
rxg
1cc6b4c312 Use MASTER_SITE_SOURCEFORGE_JP. 2006-01-21 11:55:14 +00:00
joerg
d27922a9f9 Fix rest of errno issues in canna. 2005-12-30 15:16:21 +00:00
joerg
f9ccbddb6e DragonFly wchar_t support. 2005-12-29 15:29:11 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11:48 +00:00
jlam
39cbd126b0 Make USE_TOOLS+=imake imply USE_X11BASE=yes, along with the other
variable definitions that apply when USE_IMAKE is defined.
2005-05-17 22:22:52 +00:00
jlam
f793cad898 This package uses the imake/xmkmf tools, so it implies USE_X11BASE.
Add it explicitly here until pkgsrc/mk/* can be modified to infer this
by itself.
2005-05-17 22:20:15 +00:00
jlam
b23cc6b431 The canna packages use imake/xmkmf as part of the configure process. 2005-05-16 18:25:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
e6962cf9de Add RMD160 digests 2005-02-23 21:00:34 +00:00
minskim
fb29a65a84 Regen to make GNU patch happy. 2005-01-13 12:18:42 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
snj
969b901250 Spelling fixes. 2004-03-14 20:24:21 +00:00
minskim
7b11ce524f Make Canna* packages use the buildlink framework. It will fix the
build problem reported by Yasushi Oshima on tech-pkg-ja@jp.NetBSD.org.
2004-03-05 19:09:22 +00:00
minskim
a866ac8eb7 Define CANNA_MODULE, which is used in COMMENT. Also define
NO_BUILDLINK and NO_CONFIGURE, becuase this is a meta package.
2004-03-05 19:04:30 +00:00
uebayasi
241fddd816 1) Update Canna to 3.6p4.
* Reconstruct sample init files.
* RC-style start script.
* Auto-registration of Kana conversion.
* Abolish fuzokugo.cld.
* More key symbols can be configured with Lisp.
* Server returns more appropriate values at abort.
* TeX document improvements.
* And many bug fixes.

2) Make Canuum use Canna's common make files.  From Osamu Oishi in PR 22244.
2003-09-23 15:06:57 +00:00
jmc
e9d91c455b Define a proper relative path to Makefile.version 2003-07-31 20:10:22 +00:00
uebayasi
30c404c8a0 * Split the version definition into Makefile.version.
* Complete CANNA_OWNER -> CANNA_USER change, which was mostly done by Julio
  Merino a few days ago.
2003-07-31 13:04:40 +00:00
jmmv
f4e532253d Go one step further: turn CANNA_GROUP and CANNA_USER build definitions and
handle the group and the user they specify with bsd.pkg.install.mk.  In fact,
these variables were already changeable.
2003-07-29 19:53:19 +00:00
jmmv
d800775d99 Convert to the bsd.pkg.install.mk framework:
- Use RCD_SCRIPTS for automatic generation and handling of the rc.d script.
- Use OWN_DIR_PERMS instead of OWN_DIRS to handle permissions for the spool
  directory and avoid (un)exec commands in PLIST.
As a result, bump PKGREVISION to 1.
2003-07-29 19:42:53 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
uebayasi
028d988779 Update/simplify/improve DESCR/MESSAGE of Canna packages. The MESSAGE part
is from Takamizu-san.

(I dare to delete the explanation for Mule.  It's minor, and too old.)
2003-06-09 09:36:35 +00:00
uebayasi
997db7b9d5 * Correct version numbers, (3.6.3 ->) 3.6p3 -> 3.6pl3.
To update packages, you need to run pkg_delete(8) manually and de-install
  old 3.6.3 packages.  Agreed by Kambe-san.

  See the pkg_info(1) manual page for how "pl" works.

* White space nits.
2003-06-03 00:58:10 +00:00
uebayasi
8d076518c1 * Move Canna-server from inputmethod/canna-server to here.
* Put Makefile.common and Makefile.include for common definitions and
  inclusions.

* Update to 3.6p3.  From Toru Takamizu in PR#20208.

  Random summary of changes since 3.6p1.

	* CHANGES.jp: update
	* Fix sample files.
	* Install default.canna to cannaLibDir.
	* Fix cursor handling in tango-touroku.
	* Add "nami" symbol.
	* Prevent wrong learning.  It had occured in two situations:
	   1. bubun kakutei at bunsetsus (probably) except in jishu-henkan mode
	   2. bubun muhenkan
	  In both cases, all bunsetsus had been learned.
	  This commit is only a quick hack. tanbunContext should be removed
	  and new protocol should be added in future.
	* lib/RKC/wconvert.c(SendType11Request): stop buffer overrun
	* server/IR.h: define _WCHAR_t again after include "canna/RK.h"
	  New direcroty hierarchy.
	  Currently old hierarchy is default on stable branch.

  And document/code bug fixes.
2003-05-31 07:24:38 +00:00