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/Makefile | |
parent | 40cbc98edb640bddc821acaeb39e024c1a7c37e8 (diff) |
- add category x11-fonts;
- add a pkg-message;
- pet portlint.
Submitted by: Pedro F. Giffuni
Notes
Notes:
svn path=/head/; revision=130753
Diffstat (limited to 'print/amspsfnt/Makefile')
-rw-r--r-- | print/amspsfnt/Makefile | 36 |
1 files changed, 20 insertions, 16 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> |