60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
# Created by: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kaname12
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= japanese x11-fonts
|
|
MASTER_SITES= PORTS_JP
|
|
DISTNAME= kaname_k12_bdf
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
knm_new_linux.tar.gz
|
|
EXTRACT_ONLY= knm_new_linux.tar.gz
|
|
|
|
MAINTAINER= CQG00620@nifty.ne.jp
|
|
COMMENT= X11 12-dot Kanji font
|
|
|
|
USES= fonts
|
|
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf
|
|
|
|
WRKSRC= ${WRKDIR}/fonts
|
|
|
|
MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,g} MKDIR="${MKDIR}"
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
DOCSDIR= ${PREFIX}/share/doc/k12
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-extract:
|
|
@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${FILESDIR}/fonts.alias \
|
|
${STAGEDIR}${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/readme.kaname_bdf ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc.orig/* ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|