summaryrefslogtreecommitdiff
path: root/fonts/ghostscript-fonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/ghostscript-fonts/Makefile')
-rw-r--r--fonts/ghostscript-fonts/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/fonts/ghostscript-fonts/Makefile b/fonts/ghostscript-fonts/Makefile
new file mode 100644
index 00000000000..bd0aacaf8dc
--- /dev/null
+++ b/fonts/ghostscript-fonts/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/03 14:42:09 wiz Exp $
+
+DISTNAME= ghostscript-fonts-6.0
+CATEGORIES= fonts
+MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE:=gsfonts/} \
+ 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
+NO_PATCH= # defined
+NO_CONFIGURE= # defined
+NO_BUILD= # defined
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
+ cd ${PREFIX}/share/ghostscript; \
+ ${PAX} -zrf ${_DISTDIR}/${GS_FONTS_STD}; \
+ ${PAX} -zrf ${_DISTDIR}/${GS_FONTS_OTHER}
+ ${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"