freebsd-ports/japanese/kdrill/files/patch-Imakefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

27 lines
947 B
Text

--- Imakefile.orig Sat Jan 8 06:59:13 2005
+++ Imakefile Fri Aug 5 16:16:00 2005
@@ -32,9 +32,9 @@
/* You can change these here, and KDrill.ad will
* get created with the matching values. Yaaay!
*/
-DICTLOCATION= /usr/local/lib/kanjidic.gz
-EDICTLOCATION= /usr/local/lib/edict.gz
-RADLOCATION= /usr/local/lib/radkfile
+DICTLOCATION= $(LOCALBASE)/share/dict/edict/kanjidic
+EDICTLOCATION= $(LOCALBASE)/share/dict/edict/edict
+RADLOCATION= $(LOCALBASE/share/dict/edict/radkfile
# If for some reason, the user prefs stuff isn't working for you,
# and you can't compile, uncomment this
@@ -46,7 +46,10 @@
# The system should pick some default for you.
# If you dont like it, uncomment this and use it as you like.
# This isn't compiled in anywhere, it's just a convenience thing.
-# BINDIR = /usr/local/bin/X11
+BINDIR = $(PREFIX)/bin
+LIBDIR = $(PREFIX)/lib/X11
+CONFIGDIR = $(LOCALBASE)/lib/X11/config
+MANPATH = $(PREFIX)/man