2013-04-06 15:24:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.12 2013/04/06 13:24:19 rodent 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}
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 3
|
2004-10-03 02:12:51 +02:00
|
|
|
|
2002-09-11 10:54:46 +02:00
|
|
|
COMMENT= Japanese Vector font library
|
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= build-src
|
2002-05-31 14:59:53 +02:00
|
|
|
INSTALL_TARGET= install-src
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2002-05-31 14:59:53 +02:00
|
|
|
post-build:
|
2013-04-06 15:24:18 +02:00
|
|
|
.for file in vfontcap vfontcap.bdf
|
2002-05-31 14:59:53 +02:00
|
|
|
cd ${WRKSRC}; \
|
2013-04-06 15:24:18 +02:00
|
|
|
${MV} ${file} ${file}.orig; \
|
2002-05-31 14:59:53 +02:00
|
|
|
${SED} -e "s|/usr/local/share/fonts|${PREFIX}/share/fonts|g" \
|
2013-04-06 15:24:18 +02:00
|
|
|
${file}.orig > ${file}; \
|
|
|
|
${RM} ${file}.orig
|
2002-05-31 14:59:53 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
2011-05-28 11:07:38 +02:00
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}/VF.h ${DESTDIR}${PREFIX}/include
|
2002-05-31 14:59:53 +02:00
|
|
|
|
2011-05-28 11:07:38 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}
|
2003-04-10 03:28:03 +02:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} COPYING COPYING.LIB README.txt.JP_EUC \
|
2011-05-28 11:07:38 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}
|
|
|
|
cd ${WRKSRC} && pax -rw jTeX ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION}
|
|
|
|
${FIND} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION} -type d -print \
|
2006-02-24 22:07:51 +01:00
|
|
|
-exec ${CHMOD} ${PKGDIRMODE} {} \;
|
2011-05-28 11:07:38 +02:00
|
|
|
${FIND} ${DESTDIR}${PREFIX}/share/VFlib/${VFLIB_VERSION} -type f -print \
|
2006-02-24 22:07:51 +01:00
|
|
|
-exec ${CHMOD} ${SHAREMODE} {} \;
|
2002-05-31 14:59:53 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|