bye, bye
This commit is contained in:
parent
7754067bc9
commit
c6196602e2
@ -1,49 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2007/09/15 20:04:23 merdely Exp $
|
||||
|
||||
# sync with mplayer archs due to dependency
|
||||
ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64 arm
|
||||
|
||||
DISTNAME=mplayer-fontmaker-0.90
|
||||
PKGNAME=${DISTNAME}p0
|
||||
CATEGORIES=x11
|
||||
COMMENT=subtitle fonts generator for mplayer
|
||||
|
||||
MODULES= converters/libiconv
|
||||
BUILD_DEPENDS= ::x11/mplayer:configure
|
||||
DISTFILES=
|
||||
NO_CHECKSUM= Yes
|
||||
|
||||
post-extract:
|
||||
ln -sf ${WRKDIR}/x11/mplayer/MPlayer-* ${WRKDIST}
|
||||
|
||||
WRKSRC= ${WRKDIST}/TOOLS/subfont-c
|
||||
ALL_TARGET=subfont
|
||||
MAKE_FLAGS=OPTFLAGS='-I${X11BASE}/include/freetype2 -I${LOCALBASE}/include' \
|
||||
LDLIBS='-lm -L/usr/X11R6/lib -lfreetype -lz -L/usr/local/lib -liconv'
|
||||
|
||||
USE_GMAKE=Yes
|
||||
USE_X11=Yes
|
||||
|
||||
OSDDIR=${PREFIX}/libdata/mplayer-osd
|
||||
|
||||
post-build:
|
||||
sed -e 's,^PREFIX=.*,PREFIX=${PREFIX},' \
|
||||
${FILESDIR}/mksubfont >${WRKBUILD}/mksubfont
|
||||
|
||||
NO_REGRESS=Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/subfont ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${OSDDIR}
|
||||
${INSTALL_DATA} ${WRKBUILD}/osd/osd.pfb ${OSDDIR}
|
||||
${INSTALL_DATA} ${WRKBUILD}/encodings/osd-mplayer ${OSDDIR}/osd-encoding
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/mksubfont ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKBUILD}/README ${PREFIX}/share/doc/mplayer-fontmaker
|
||||
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Patented stuff
|
||||
WANTLIB= c freetype m z
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,46 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
# $OpenBSD: mksubfont,v 1.1.1.1 2002/05/28 11:24:04 espie Exp $
|
||||
# Written by Marc Espie, 2002
|
||||
# Public domain
|
||||
|
||||
PREFIX=/usr/local
|
||||
|
||||
unset ENCODING SIZE BLUR OUTLINE
|
||||
|
||||
while true; do
|
||||
case "$1" in
|
||||
-o)
|
||||
OUTLINE=$2;;
|
||||
-b)
|
||||
BLUR=$2;;
|
||||
-s)
|
||||
SIZE=$2;;
|
||||
-e)
|
||||
ENCODING=$2;;
|
||||
*) break;;
|
||||
esac
|
||||
shift
|
||||
shift
|
||||
done
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo "Error: exactly one font should be specified"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: ${ENCODING:=ISO-8859-1}
|
||||
: ${SIZE:=18}
|
||||
: ${BLUR:=2}
|
||||
: ${OUTLINE:=1.5}
|
||||
outdir=`basename $1 .ttf`
|
||||
outdir=`basename $outdir .TTF`
|
||||
|
||||
mkdir -p $outdir
|
||||
subfont --outdir $outdir --blur $BLUR --outline $OUTLINE $ENCODING $SIZE "$1" \
|
||||
&& \
|
||||
subfont --outdir $outdir --append --blur $BLUR --outline $OUTLINE \
|
||||
${PREFIX}/libdata/mplayer-osd/osd-encoding $SIZE \
|
||||
${PREFIX}/libdata/mplayer-osd/osd.pfb
|
||||
|
||||
echo "You can now move (or link) the contents of $outdir into ~/.mplayer/font"
|
@ -1,5 +0,0 @@
|
||||
subtitle font generator, taken from mplayer, and packaged separately.
|
||||
|
||||
Added a simple font generator script (mksubfont) that can
|
||||
be used to build simple font outlines for full functionality in
|
||||
mplayer.
|
@ -1,7 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2004/09/15 19:26:30 espie Exp $
|
||||
bin/mksubfont
|
||||
bin/subfont
|
||||
libdata/mplayer-osd/
|
||||
libdata/mplayer-osd/osd-encoding
|
||||
libdata/mplayer-osd/osd.pfb
|
||||
share/doc/mplayer-fontmaker
|
Loading…
x
Reference in New Issue
Block a user