1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/korean/xpdf/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: ko-xpdf
# Date created: Fri Sep 30 21:26:35 EDT 2005
# Whom: Jung-uk Kim <jkim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xpdf
PORTVERSION= 3.01
PORTREVISION= 2
CATEGORIES= korean
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/
DISTNAME= xpdf-korean
MAINTAINER= ports@FreeBSD.org
COMMENT= Korean xpdf font support
RUN_DEPENDS= xpdf:${PORTSDIR}/graphics/xpdf \
${ADOBECMAPDIR}/ai0/CMap/Identity-H:${PORTSDIR}/print/adobe-cmaps \
${X11BASE}/lib/X11/fonts/TrueType/UnBatang.ttf:${PORTSDIR}/korean/unfonts-ttf
NO_BUILD= yes
USE_X_PREFIX= yes
SUB_FILES= dot.xpdfrc
SUB_LIST= ADOBECMAPDIR=${ADOBECMAPDIR}
ADOBECMAPDIR= ${LOCALBASE}/share/fonts/adobe-cmaps
INSTALL_FILES= Adobe-Korea1.cidToUnicode ISO-2022-KR.unicodeMap \
README
.if defined(WITHOUT_X11)
BROKEN= Broken dependency when WITHOUT_X11 set
.endif
do-install:
${MKDIR} ${DATADIR}/korean
${INSTALL_DATA} ${WRKDIR}/dot.xpdfrc ${DATADIR}/korean
.for i in ${INSTALL_FILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DATADIR}/korean
.endfor
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>