blob: 3ae15fe4d4b6844e1ce1e752addb686d0c927084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.7 2003/07/17 21:37:06 grant Exp $
DISTNAME= ghostscript-fonts-6.0
CATEGORIES= fonts
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=ghostscript/} \
ftp://ftp.cs.wisc.edu/ghost/aladdin/fonts/
DISTFILES= ${GS_FONTS_STD} ${GS_FONTS_OTHER}
MAINTAINER= jlam@NetBSD.org
HOMEPAGE= http://gs-fonts.sourceforge.net/
COMMENT= Postscript fonts for Aladdin Ghostscript
# Note: the following two are special files. In the 5.50 directory
# on the FTP site, there are symlinks:
# ghostscript-fonts-other-5.50.tar.gz ->
# ../fonts/ghostscript-fonts-other-4.40.tar.gz
# To avoid unnecessarily downloading distfiles, do not change these
# when upgrading the port unless the symlinks/files really change.
#
GS_FONTS_STD= ghostscript-fonts-std-6.0.tar.gz
GS_FONTS_OTHER= ghostscript-fonts-other-6.0.tar.gz
CONFLICTS= ghostscript-[0-5]* ghostscript-x11-[0-5]*
DIST_SUBDIR= ghostscript
EXTRACT_ONLY= # empty
USE_BUILDLINK2= # defined
NO_CONFIGURE= # defined
NO_BUILD= # defined
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
@cd ${PREFIX}/share/ghostscript; \
for file in ${GS_FONTS_STD} ${GS_FONTS_OTHER}; do \
extract_file="${_DISTDIR}/$${file}"; \
${EXTRACT_CMD}; \
done
${INSTALL_DATA} ${FILESDIR}/fonts.alias \
${PREFIX}/share/ghostscript/fonts/
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/ghostscript
${CHMOD} -R a-w ${PREFIX}/share/ghostscript
.include "../../mk/bsd.pkg.mk"
|