aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-10-29 11:40:13 +0800
committerlinimon <linimon@FreeBSD.org>2003-10-29 11:40:13 +0800
commite4be9cc1b61120bd6a4a61180110624f08335424 (patch)
tree9aaf85b18a2cc59e9a1f5820070c7c25f42002f8
parent2d8a221cce8db16150c017fbb3fc9e96c6c1c60f (diff)
downloadfreebsd-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/Makefile12
-rw-r--r--cad/spice/Makefile12
-rw-r--r--cad/spice/pkg-descr1
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/
-