Move inclusion of bsd.port.pre.mk past definition of variables.

Pet portlint.
This commit is contained in:
Mark Linimon 2003-10-29 03:40:13 +00:00
parent 6e37a20d68
commit 9cc0ce460e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92522
3 changed files with 12 additions and 13 deletions

View File

@ -18,12 +18,6 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Maryland Routing Simulator
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 501000
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
NO_WRKSUBDIR= yes
FETCH_ENV= "FTP_PASSIVE_MODE=no"
.if defined(WITHOUT_X11)
@ -35,6 +29,12 @@ MAKEFILE= Makefile.XMotif
ALL_TARGET= depend mars
MAN1= mars.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 501000
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mars ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/mars.1 ${PREFIX}/man/man1

View File

@ -18,12 +18,6 @@ EXTRACT_ONLY= sp3f4.kit${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A general-purpose circuit simulation program
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 501000
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
USE_XLIB= yes
USE_REINPLACE= yes
NO_WRKSUBDIR= yes
@ -32,6 +26,12 @@ MAN3= mfb.3
MAN5= mfbcap.5
MLINKS= spice.1 spice3.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 501000
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
post-configure:
@${REINPLACE_CMD} -e 's+@CC@+${CC}+ ; s+@CFLAGS@+${CFLAGS}+ ; \
s+@X11BASE@+${X11BASE}+;' \

View File

@ -12,4 +12,3 @@ and the level 2 JFET model are courtesy from the Macquarie University.
Online documentation at:
WWW: http://infopad.eecs.berkeley.edu/~icdesign/SPICE/