aboutsummaryrefslogtreecommitdiff
path: root/audio/timidity++-xaw
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-30 19:07:38 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-30 19:07:38 +0000
commite6179e2ad064c3d01a9e90e870f40db7578ec92c (patch)
treed6f049dfb6b2788604beb01a677d020f22283326 /audio/timidity++-xaw
parent5623203d4539af19fe7486d12b415c65e3e6e7c1 (diff)
downloadports-e6179e2ad064c3d01a9e90e870f40db7578ec92c.tar.gz
ports-e6179e2ad064c3d01a9e90e870f40db7578ec92c.zip
- Respect X11BASE
- Don't hardcode /usr/local in pkg-plist
Notes
Notes: svn path=/head/; revision=178365
Diffstat (limited to 'audio/timidity++-xaw')
-rw-r--r--audio/timidity++-xaw/Makefile2
-rw-r--r--audio/timidity++-xaw/pkg-plist6
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/timidity++-xaw/Makefile b/audio/timidity++-xaw/Makefile
index 8dd680382f33..10e338fbcb73 100644
--- a/audio/timidity++-xaw/Makefile
+++ b/audio/timidity++-xaw/Makefile
@@ -12,4 +12,6 @@ COMMENT= Xaw interface for TiMidity++
MASTERDIR= ${.CURDIR}/../../audio/timidity++-emacs
+PLIST_SUB+= REALPREFIX=${PREFIX}
+
.include "${MASTERDIR}/Makefile"
diff --git a/audio/timidity++-xaw/pkg-plist b/audio/timidity++-xaw/pkg-plist
index 0e6de2396553..4741f3049103 100644
--- a/audio/timidity++-xaw/pkg-plist
+++ b/audio/timidity++-xaw/pkg-plist
@@ -1,7 +1,7 @@
-@cwd /usr/X11R6
+@cwd %%X11BASE%%
lib/X11/app-defaults/TiMidity
lib/X11/%%EUCJP_LOCALE%%/app-defaults/TiMidity
-@cwd /usr/local
+@cwd %%REALPREFIX%%
bin/xawmidi
lib/timidity/bitmaps/back.xbm
lib/timidity/bitmaps/fwrd.xbm
@@ -18,6 +18,6 @@ lib/timidity/interface_a.so
%%PORTDOCS%%%%DOCSDIR%%/README.xaw
%%PORTDOCS%%share/doc/ja/timidity++/README.xaw
@dirrm lib/timidity/bitmaps
-@cwd /usr/X11R6
+@cwd %%X11BASE%%
@dirrmtry lib/X11/%%EUCJP_LOCALE%%/app-defaults
@dirrmtry lib/X11/%%EUCJP_LOCALE%%