2006-02-24 22:07:51 +01:00
|
|
|
# $NetBSD: Makefile,v 1.8 2006/02/24 21:07:51 minskim Exp $
|
2002-05-31 14:59:53 +02:00
|
|
|
|
|
|
|
.include "Makefile.common"
|
|
|
|
|
2002-09-11 10:54:46 +02:00
|
|
|
PKGNAME= ja-vflib-lib-${VFLIB_VERSION}
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2004-10-03 02:12:51 +02:00
|
|
|
|
2002-09-11 10:54:46 +02:00
|
|
|
COMMENT= Japanese Vector font library
|
|
|
|
|
2002-05-31 14:59:53 +02:00
|
|
|
CONFIGURE_ARGS+= --without-x
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= build-src
|
2002-05-31 14:59:53 +02:00
|
|
|
INSTALL_TARGET= install-src
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
.for FILE in vfontcap vfontcap.bdf
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${MV} ${FILE} ${FILE}.orig; \
|
|
|
|
${SED} -e "s|/usr/local/share/fonts|${PREFIX}/share/fonts|g" \
|
|
|
|
${FILE}.orig > ${FILE}; \
|
|
|
|
${RM} ${FILE}.orig
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MV} ${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${PREFIX}/include
|
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/VFlib/${VFLIB_VERSION}
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYING.LIB README.txt.JP_EUC \
|
2002-05-31 14:59:53 +02:00
|
|
|
${PREFIX}/share/VFlib/${VFLIB_VERSION}
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC} && ${PAX} -rw jTeX ${PREFIX}/share/VFlib/${VFLIB_VERSION}
|
2006-02-24 22:07:51 +01:00
|
|
|
${FIND} ${PREFIX}/share/VFlib/${VFLIB_VERSION} -type d -print \
|
|
|
|
-exec ${CHMOD} ${PKGDIRMODE} {} \;
|
|
|
|
${FIND} ${PREFIX}/share/VFlib/${VFLIB_VERSION} -type f -print \
|
|
|
|
-exec ${CHMOD} ${SHAREMODE} {} \;
|
2002-05-31 14:59:53 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|