d70523df21
Shared directories can now be created independently by the pacakges needing them and will be removed automatically by pkg_delete when empty. Packages needing empty directories can use the @pkgdir command in PLIST. Discussed and ok'd in thread starting at http://mail-index.netbsd.org/tech-pkg/2009/06/30/msg003546.html
31 lines
824 B
Text
31 lines
824 B
Text
# $NetBSD: Makefile.common,v 1.7 2009/07/22 09:01:27 wiz Exp $
|
|
|
|
DISTNAME= uhc-fonts-1.0
|
|
CATEGORIES= fonts
|
|
MASTER_SITES= ftp://ftp.ktug.or.kr/pub/ktug/hlatex/fonts/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${UHC_FONTS}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://project.ktug.or.kr/hlatex/install-fonts.html
|
|
|
|
TEX_ACCEPTED= teTeX3
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
NO_BUILD= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
.include "../../print/teTeX/module.mk"
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/map/hlatex
|
|
${INSTALL_DATA} ${WRKSRC}/${TEX_FONTMAPS} \
|
|
${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/map/hlatex/
|
|
.for f in ${UHC_FONTS}
|
|
extract_file=${_DISTDIR:Q}/${f}; \
|
|
cd ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts; ${EXTRACT_CMD}
|
|
.endfor
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|