diff options
-rw-r--r-- | cad/mars/Makefile | 12 | ||||
-rw-r--r-- | cad/spice/Makefile | 12 | ||||
-rw-r--r-- | cad/spice/pkg-descr | 1 |
3 files changed, 12 insertions, 13 deletions
diff --git a/cad/mars/Makefile b/cad/mars/Makefile index 81a62d513e36..784cd44ebe68 100644 --- a/cad/mars/Makefile +++ b/cad/mars/Makefile @@ -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 diff --git a/cad/spice/Makefile b/cad/spice/Makefile index b91e57bd1475..7f6879424ed4 100644 --- a/cad/spice/Makefile +++ b/cad/spice/Makefile @@ -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}+;' \ diff --git a/cad/spice/pkg-descr b/cad/spice/pkg-descr index 9527f6fb0e11..22a13535dd95 100644 --- a/cad/spice/pkg-descr +++ b/cad/spice/pkg-descr @@ -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/ - |