diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2005-03-09 22:33:10 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2005-03-09 22:33:10 +0000 |
commit | b0561350b0f83d960088632d3ac13d0dc6f2c12c (patch) | |
tree | d44fa654b79493cc4bfc90cf439f01fcbcf07d35 /print/amspsfnt | |
parent | 40cbc98edb640bddc821acaeb39e024c1a7c37e8 (diff) | |
download | ports-b0561350b0f83d960088632d3ac13d0dc6f2c12c.tar.gz ports-b0561350b0f83d960088632d3ac13d0dc6f2c12c.zip |
Notes
Diffstat (limited to 'print/amspsfnt')
-rw-r--r-- | print/amspsfnt/Makefile | 36 | ||||
-rw-r--r-- | print/amspsfnt/files/pkg-message.in | 15 | ||||
-rw-r--r-- | print/amspsfnt/pkg-plist | 4 |
3 files changed, 37 insertions, 18 deletions
diff --git a/print/amspsfnt/Makefile b/print/amspsfnt/Makefile index 18d5da9e81d4..47db18f47cd0 100644 --- a/print/amspsfnt/Makefile +++ b/print/amspsfnt/Makefile @@ -7,7 +7,7 @@ PORTNAME= amspsfnt PORTVERSION= 1.0 -CATEGORIES= print +CATEGORIES= print x11-fonts MASTER_SITES= ftp://ftp.ams.org/pub/tex/psfonts/ams/ DISTNAME= amsps EXTRACT_SUFX= -unix.tar.gz @@ -15,28 +15,32 @@ EXTRACT_SUFX= -unix.tar.gz MAINTAINER= ports@FreeBSD.org COMMENT= AMSFonts PostScript Fonts (Adobe Type 1 format) -BUILD_DEPENDS= $(LOCALBASE)/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst +BUILD_DEPENDS= ${LOCALBASE}/bin/type1inst:${PORTSDIR}/x11-fonts/p5-type1inst -WRKSRC= $(WRKDIR)/amspsfnt -TEXDIR= $(PREFIX)/share/texmf -AMSFNTDIR= $(TEXDIR)/fonts/ams +SUB_FILES= pkg-message + +WRKSRC= ${WRKDIR}/amspsfnt +TEXDIR?= ${PREFIX}/share/texmf +AMSFNTDIR= ${TEXDIR}/fonts/ams do-build: - (cd ${WRKSRC}/pfb; $(LOCALBASE)/bin/type1inst -nolog -q) + (cd ${WRKSRC}/pfb; ${LOCALBASE}/bin/type1inst -nolog) do-install: - @${MKDIR} $(AMSFNTDIR)/tfm - $(INSTALL_DATA) ${WRKSRC}/tfm/* $(AMSFNTDIR)/tfm - @${MKDIR} $(AMSFNTDIR)/type1 - $(INSTALL_DATA) ${WRKSRC}/pfb/* $(AMSFNTDIR)/type1 - @${MKDIR} $(TEXDIR)/dvips/mapfiles.ams - $(INSTALL_DATA) ${WRKSRC}/mapfiles/* $(TEXDIR)/dvips/mapfiles.ams - @${MKDIR} $(PREFIX)/lib/afm - $(INSTALL_DATA) ${WRKSRC}/afm/* $(PREFIX)/lib/afm - + @${MKDIR} ${AMSFNTDIR}/tfm + ${INSTALL_DATA} ${WRKSRC}/tfm/* ${AMSFNTDIR}/tfm + @${MKDIR} ${AMSFNTDIR}/type1 + ${INSTALL_DATA} ${WRKSRC}/pfb/* ${AMSFNTDIR}/type1 + @${MKDIR} ${TEXDIR}/dvips/mapfiles.ams + ${INSTALL_DATA} ${WRKSRC}/mapfiles/* ${TEXDIR}/dvips/mapfiles.ams + @${MKDIR} ${PREFIX}/lib/afm + ${INSTALL_DATA} ${WRKSRC}/afm/* ${PREFIX}/lib/afm .ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} - $(INSTALL_DATA) ${WRKSRC}/READ.ME ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/READ.ME ${DOCSDIR} .endif +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.mk> diff --git a/print/amspsfnt/files/pkg-message.in b/print/amspsfnt/files/pkg-message.in new file mode 100644 index 000000000000..6350c66e7e35 --- /dev/null +++ b/print/amspsfnt/files/pkg-message.in @@ -0,0 +1,15 @@ +============================================================ +American Math Society Postscript fonts have been installed! +============================================================ + +Please add %%PREFIX%%/share/texmf/fonts/ams +to your X11 fonts path by either: + +$ xset fp+ %%PREFIX%%/share/texmf/fonts/ams +$ xset fp rehash + +or by adding it to your X-server configuration file. +Other utilities, like ghostscript, may also need +additional configuration. + +============================================================ diff --git a/print/amspsfnt/pkg-plist b/print/amspsfnt/pkg-plist index 9cbc75d1212c..b9d10f64b231 100644 --- a/print/amspsfnt/pkg-plist +++ b/print/amspsfnt/pkg-plist @@ -32,7 +32,7 @@ lib/afm/wncyi10.afm lib/afm/wncyr10.afm lib/afm/wncysc10.afm lib/afm/wncyss10.afm -%%PORTDOCS%%share/doc/amspsfnt/READ.ME +%%PORTDOCS%%%%DOCSDIR%%/READ.ME share/texmf/dvips/mapfiles.ams/psfonts.ams share/texmf/dvips/mapfiles.ams/psfonts.amx share/texmf/dvips/mapfiles.ams/psfonts.amz @@ -171,5 +171,5 @@ share/texmf/fonts/ams/type1/wncyss10.pfb @dirrm share/texmf/dvips/mapfiles.ams @unexec rmdir %D/share/texmf/dvips 2>/dev/null || true @unexec rmdir %D/share/texmf 2>/dev/null || true -%%PORTDOCS%%@dirrm share/doc/amspsfnt +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm lib/afm |