mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
8164dfd28f
PR: ports/59553 Submitted by: Rong-En Fan (rafan at infor dot org)
16 lines
376 B
Bash
16 lines
376 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
# Check if Tk module installed or not.
|
|
%%PREFIX%%/bin/perl -MTk -e '' 2>/dev/null
|
|
|
|
if [ $? -ne 0 ]; then
|
|
echo "You do not have Perl module Tk installed. To use $0,"
|
|
echo "install the p5-Tk package (x11-toolkits/p5-Tk)"
|
|
echo "(this package requires Perl 5.8 or higher)."
|
|
echo "Then, try it again."
|
|
exit 1
|
|
fi
|
|
|
|
exec %%PREFIX%%/bin/texdoctk.real "$@"
|