View | Details | Raw Unified | Return to bug 70716
Collapse All | Expand All

(-)xfig/Makefile (-6 / +4 lines)
Lines 33-43 Link Here
33
INSTALL_TARGET=	install install.all
33
INSTALL_TARGET=	install install.all
34
.endif
34
.endif
35
35
36
pre-everything::
36
OPTIONS=	GHOSTSCRIPT "Ghostscript support" on
37
.if !defined(WITHOUT_GHOSTSCRIPT)
37
38
	@${ECHO_MSG} "To build this port without Ghostscript support,"
38
.include <bsd.port.pre.mk>
39
	@${ECHO_MSG} "define \"WITHOUT_GHOSTSCRIPT\"."
40
.endif
41
39
42
post-extract:
40
post-extract:
43
	@${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
41
	@${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC}
Lines 47-50 Link Here
47
	@${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
45
	@${REINPLACE_CMD} -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile
48
.endif
46
.endif
49
47
50
.include <bsd.port.mk>
48
.include <bsd.port.post.mk>

Return to bug 70716