freebsd-ports/print/font-amsfonts/Makefile

29 lines
675 B
Makefile

# Created by: hrs
# $FreeBSD$
PORTNAME= amsfonts
PORTVERSION= 3.02
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= hrs
PKGNAMEPREFIX= font-
DIST_SUBDIR= teTeX
MAINTAINER= hrs@FreeBSD.org
COMMENT= Computer Modern and standard fonts for TeX
PLIST_SUB= FONTSDIR=${FONTSDIR}
NO_BUILD= yes
FONTSDIR= share/fonts/${PORTNAME}
NO_STAGE= yes
do-install:
${MKDIR} ${PREFIX}/${FONTSDIR}
cd ${PREFIX}/${FONTSDIR} && ${TAR} -x -z -U --strip-components 1 -f \
${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${FONTSDIR}
${CHMOD} -R go-w ${PREFIX}/${FONTSDIR}
.include <bsd.port.mk>