3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
40 lines
871 B
Makefile
40 lines
871 B
Makefile
# New ports collection makefile for: MgOpen Font Family
|
|
# Date created: 16 May 2005
|
|
# Whom: past@ebs.gr
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mgopen
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= http://www.ellak.gr/fonts/mgopen/files/
|
|
DISTNAME= MgOpen
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MgOpen greek fonts collection
|
|
|
|
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
|
|
|
|
NO_BUILD= yes
|
|
|
|
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR:S|^${PREFIX}/||}
|
|
|
|
SUB_FILES= pkg-message
|
|
SUB_LIST= FONTSDIR=${FONTSDIR}
|
|
|
|
do-install:
|
|
${MKDIR} ${FONTSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/*.ttf ${FONTSDIR}
|
|
|
|
post-install:
|
|
@${ECHO_MSG} "===> Running fc-cache"
|
|
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
|
|
@${ECHO_MSG}
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${ECHO_MSG}
|
|
|
|
.include <bsd.port.mk>
|