Index: print/html2ps-letter/Makefile
===================================================================
diff -u print/html2ps-letter/Makefile.orig print/html2ps-letter/Makefile
--- print/html2ps-letter/Makefile.orig	Sun Jul 27 16:11:24 2003
+++ print/html2ps-letter/Makefile	Sun Jul 27 16:13:17 2003
@@ -15,10 +15,16 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	HTML to PostScript converter

+.if defined(WITH_GHOSTSCRIPT_AFPL) && ${WITH_GHOSTSCRIPT_AFPL} == yes
+GSPORT?=	print/ghostscript-afpl
+.else
+GSPORT?=	print/ghostscript-gnu
+.endif
+
 BUILD_DEPENDS=	mogrify:${PORTSDIR}/graphics/ImageMagick \
 		djpeg:${PORTSDIR}/graphics/jpeg \
 		giftopnm:${PORTSDIR}/graphics/netpbm \
-		gs:${PORTSDIR}/print/ghostscript-gnu \
+		gs:${PORTSDIR}/${GSPORT} \
 		tex:${PORTSDIR}/print/teTeX \
 		${site_perl}/LWP.pm:${PORTSDIR}/www/p5-libwww \
 		weblint:${PORTSDIR}/www/weblint
@@ -33,6 +39,14 @@
 MAN1=		html2ps.1
 MAN5=		html2psrc.5
 SCRIPTS_ENV+=	PERL=${PERL} PAPERSIZE=${PAPERSIZE}
+
+pre-fetch:
+.if !defined(WITH_GHOSTSCRIPT_AFPL) || ${WITH_GHOSTSCRIPT_AFPL} != yes
+	@${ECHO} ""
+	@${ECHO} "      Define WITH_GHOSTSCRIPT_AFPL=yes to use"
+	@${ECHO} "      AFPL Postscript interpreter instead of GNU one"
+	@${ECHO} ""
+.endif

 do-install:
 	@cd ${WRKSRC}; ${PERL} install
