1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Use pre-everything and fix typo

PR:		28843
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
David W. Chapman Jr. 2001-07-10 00:09:14 +00:00
parent 48eab8c261
commit 2c0c8003ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44986
2 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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