diff options
Diffstat (limited to 'print/pkfonts300/Makefile')
-rw-r--r-- | print/pkfonts300/Makefile | 30 |
1 files changed, 7 insertions, 23 deletions
diff --git a/print/pkfonts300/Makefile b/print/pkfonts300/Makefile index 697a477a935f..430b5f489cb7 100644 --- a/print/pkfonts300/Makefile +++ b/print/pkfonts300/Makefile @@ -3,7 +3,7 @@ # Date created: 16 Mar 1996 # Whom: Hideaki Ohmon <ohmon@tom.sfc.keio.ac.jp> # -# $Id: Makefile,v 1.9 1998/08/10 12:14:50 steve Exp $ +# $Id: Makefile,v 1.10 1998/10/30 08:35:38 asami Exp $ # DISTNAME= pkfonts @@ -15,41 +15,25 @@ MASTER_SITES= ftp://ftp.univ-evry.fr/.04/system/OpenBSD/distfiles/pkfonts/ \ DISTFILES= pk${RESOLUTION}.tar.gz # see below for RESOLUTION definition -LOOP_VAR= RESOLUTION -LOOP_OPTIONS= 118 240 300 360 400 600 DIST_SUBDIR= pkfonts -EXTRACT_CMD= /usr/bin/true # extracted directly in install target +EXTRACT_ONLY= # extracted directly in install target NO_BUILD= yes .if !defined(RESOLUTION) -RESOLUTION= 300 -RESOLUTION_UNSPECIFIED= yes +RESOLUTION= 300 .else .if ${RESOLUTION} != 118 && ${RESOLUTION} != 240 && \ ${RESOLUTION} != 300 && ${RESOLUTION} != 360 && \ ${RESOLUTION} != 400 && ${RESOLUTION} != 600 -RESOLUTION_INVALID= yes -.endif -.endif - pre-fetch: -.if defined(RESOLUTION_UNSPECIFIED) - @echo "Using ${RESOLUTION}dpi English PK fonts." - @echo "Set the environment variable RESOLUTION if you want" - @echo "it to use other resolutions." - @echo "Possible values are: 118, 240, 300 (default), 360, 400 and 600." -.elif defined(RESOLUTION_INVALID) - @echo "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" - @echo "Possible values are: 118, 240, 300 (default), 360, 400 and 600." - @/usr/bin/false + @${ECHO} "Error: invalid value for RESOLUTION: \"${RESOLUTION}\"" + @${ECHO} "Possible values are: 118, 240, 300 (default), 360, 400 and 600." + @${FALSE} +.endif .endif do-install: ${MKDIR} ${PREFIX}/lib/fonts tar -C ${PREFIX}/lib/fonts -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} - @${CP} ${PKGDIR}/${RESOLUTION}.list ${PKGDIR}/PLIST - -pre-clean: - @rm -f ${PKGDIR}/PLIST # created by do-install above .include <bsd.port.mk> |