diff options
author | linimon <linimon@FreeBSD.org> | 2003-10-29 11:40:13 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2003-10-29 11:40:13 +0800 |
commit | e4be9cc1b61120bd6a4a61180110624f08335424 (patch) | |
tree | 9aaf85b18a2cc59e9a1f5820070c7c25f42002f8 | |
parent | 2d8a221cce8db16150c017fbb3fc9e96c6c1c60f (diff) | |
download | freebsd-ports-gnome-e4be9cc1b61120bd6a4a61180110624f08335424.tar.gz freebsd-ports-gnome-e4be9cc1b61120bd6a4a61180110624f08335424.tar.zst freebsd-ports-gnome-e4be9cc1b61120bd6a4a61180110624f08335424.zip |
Move inclusion of bsd.port.pre.mk past definition of variables.
Pet portlint.
-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/ - |