diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/xfig-devel/Makefile | 10 | ||||
-rw-r--r-- | graphics/xfig/Makefile | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/graphics/xfig-devel/Makefile b/graphics/xfig-devel/Makefile index 4b7ed2ac1220..9c2925df6960 100644 --- a/graphics/xfig-devel/Makefile +++ b/graphics/xfig-devel/Makefile @@ -30,15 +30,15 @@ MAN1= xfig.1 INSTALL_TARGET= install install.all .endif -post-extract: - @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} - -pre-fetch: +pre-everything: .if !defined(WITHOUT_GHOSTSCRIPT) @${ECHO_MSG} "To build this port without Ghostscript support," - @${ECHO_MSG} "define \"NO_GSBIT\"." + @${ECHO_MSG} "define \"WITHOUT_GHOSTSCRIPT\"." .endif +post-extract: + @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} + post-patch: .if defined(WITHOUT_GHOSTSCRIPT) @${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile diff --git a/graphics/xfig/Makefile b/graphics/xfig/Makefile index 4b7ed2ac1220..9c2925df6960 100644 --- a/graphics/xfig/Makefile +++ b/graphics/xfig/Makefile @@ -30,15 +30,15 @@ MAN1= xfig.1 INSTALL_TARGET= install install.all .endif -post-extract: - @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} - -pre-fetch: +pre-everything: .if !defined(WITHOUT_GHOSTSCRIPT) @${ECHO_MSG} "To build this port without Ghostscript support," - @${ECHO_MSG} "define \"NO_GSBIT\"." + @${ECHO_MSG} "define \"WITHOUT_GHOSTSCRIPT\"." .endif +post-extract: + @${CP} ${WRKSRC}/Doc/xfig.man ${WRKSRC} + post-patch: .if defined(WITHOUT_GHOSTSCRIPT) @${PERL} -pi -e 's|-DGSBIT ||g' ${WRKSRC}/Imakefile |