mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
10c2171c8a
print/freetype doesn't define USE_XLIB.
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# New ports collection makefile for: vflib + FreeType
|
|
# Date created: 10 May 1996
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vflib
|
|
PORTVERSION= ${VFLIB_VERSION}
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ftp://gull.se.hiroshima-u.ac.jp/pub/TypeHack/
|
|
DISTNAME= VFlib2-${PORTVERSION}
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
watanabe-vf.tar.Z
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
BUILD_DEPENDS= xmkmf:${PORTSDIR}/devel/imake-4
|
|
|
|
VFLIB_VERSION= 2.25.1
|
|
PLIST_SUB= VFLIB_VERSION=${VFLIB_VERSION}
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_FREETYPE= yes
|
|
USE_XLIB= yes
|
|
USE_AUTOCONF= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ARGS= --with-freetype \
|
|
--with-freetype-includedir=${PREFIX}/include \
|
|
--with-freetype-libdir=${PREFIX}/lib
|
|
|
|
pre-install:
|
|
@(cd ${WRKSRC}/tools; \
|
|
${INSTALL_SCRIPT} fmtest disol kban vfperf vftest ${PREFIX}/bin)
|
|
@(cd ${WRKSRC}; \
|
|
${MKDIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\
|
|
${CP} COPYING COPYING.LIB README.txt.JP_EUC \
|
|
${PREFIX}/share/VFlib/${VFLIB_VERSION} ;\
|
|
${CP} -R jTeX ${PREFIX}/share/VFlib/${VFLIB_VERSION})
|
|
${MKDIR} ${PREFIX}/share/fonts/watanabe_font
|
|
tar -C ${PREFIX}/share/fonts/watanabe_font \
|
|
-xzf ${DISTDIR}/watanabe-vf.tar.Z
|
|
|
|
post-install:
|
|
${MV} ${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${PREFIX}/include
|
|
|
|
.include <bsd.port.mk>
|