View | Details | Raw Unified | Return to bug 166565
Collapse All | Expand All

(-)Makefile (-19 / +42 lines)
Lines 6-44 Link Here
6
#
6
#
7
7
8
PORTNAME=	sceptre
8
PORTNAME=	sceptre
9
PORTVERSION=	00.317
9
PORTVERSION=	2012.061
10
PORTREVISION=	2
11
CATEGORIES=	cad
10
CATEGORIES=	cad
12
MASTER_SITES=	http://ftp.osuosl.org/pub/FreeBSD/distfiles/
11
MASTER_SITES=	http://alpha.fh-friedberg.de/iem/fileadmin/user_upload/novender/sceptre/
13
12
14
MAINTAINER=	maho@FreeBSD.org
13
MAINTAINER=	maho@FreeBSD.org
15
COMMENT=	SCEPTRE is a general purpose circuit analysis program
14
COMMENT=	General-purpose circuit analysis program
16
15
17
.if !defined(NOPORTDOCS)
16
LICENSE=	GPLv2
18
SUB_FILES+=	pkg-message
17
19
.endif
18
USE_FORTRAN=	yes
20
19
21
MAKE_JOBS_UNSAFE=	yes
20
MAKE_JOBS_UNSAFE=	yes
21
NO_WRKSUBDIR=		yes
22
22
23
.include <bsd.port.pre.mk>
23
.include <bsd.port.pre.mk>
24
24
25
USE_FORTRAN=	g77
25
FFLAGS+=	-fno-automatic
26
FFLAGS+=	-fno-automatic -O
27
.if ${ARCH} == "sparc64"
28
BROKEN=		Internal compiler error
29
.endif
30
26
31
NO_WRKSUBDIR=	YES
27
.if !defined(NOPORTDOCS)
28
PORTDOCS=	doc_en.pdf doc_ger.pdf install.pdf
29
.endif
32
30
33
post-extract:
31
post-patch:
34
	@${REINPLACE_CMD} 's,INSTDIR = /usr/local,INSTDIR = ${PREFIX},' \
32
	@${REINPLACE_CMD} -E \
35
		${WRKSRC}/Makefile
33
		-e '/^(FC|FFLAGS)[[:blank:]]*=/d' \
34
		-e 's!/usr/local!${PREFIX}!' \
35
		-e '/install.*BINDIR/{ s/install -s.*755/${INSTALL_PROGRAM}/ ; \
36
			s/install -m.*755/${INSTALL_SCRIPT}/ ; }' \
37
		-e '/install.*(ETCDIR|LIBDIR)/{ /install -d/d ; \
38
			s/install.*644/${INSTALL_DATA}/ ; }' \
39
				${WRKSRC}/Makefile
40
	@${REINPLACE_CMD} -E \
41
		-e '/^(FC|FFLAGS)[[:blank:]]*=/d' \
42
		-e 's!ar rv!${AR} ${ARFLAGS}!' \
43
		-e 's!ranlib!${RANLIB}!' \
44
				${WRKSRC}/x[123]/Makefile
45
	@${REINPLACE_CMD} \
46
		-e 's!/usr/local!${PREFIX}!' \
47
				${WRKSRC}/bin/ngp \
48
				${WRKSRC}/bin/sceptre.inst
49
	@${REINPLACE_CMD} -E \
50
		-e 's!/usr/local!${PREFIX}!' \
51
		-e "s!^(FC=')(.*)(')!\1${FC} ${FFLAGS}\3!" \
52
				${WRKSRC}/bin/sceptre
36
53
37
post-install:
54
post-install:
38
.if !defined(NOPORTDOCS)
55
.if !defined(NOPORTDOCS)
39
	${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
56
	${MKDIR} ${DOCSDIR}
40
	${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
57
	${INSTALL_DATA} ${WRKSRC}/install.pdf ${DOCSDIR}
41
	@${CAT} ${PKGMESSAGE}
58
	cd ${WRKSRC}/doc ; ${INSTALL_DATA} ${PORTDOCS:Mdoc_*} ${DOCSDIR}
59
.endif
60
61
.if !defined(BATCH)
62
check test: install
63
	cd ${WRKSRC}/samples; for s in ${WRKSRC}/samples/*.d ; \
64
	do ${WRKSRC}/bin/sceptre $${s%.d} ; done
42
.endif
65
.endif
43
66
44
.include <bsd.port.post.mk>
67
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sceptre-00.317.tar.gz) = 3031401627277ab431ee2ac8700c1d014eff2985f3807ffa8b1cc3daff70f817
1
SHA256 (sceptre-2012.061.tar.gz) = 6ca602bab7e63c84747f243f72e02dc4bac1e0491cedca192e1a1c365349ae61
2
SIZE (sceptre-00.317.tar.gz) = 1081722
2
SIZE (sceptre-2012.061.tar.gz) = 1190280
(-)pkg-descr (-3 / +1 lines)
Lines 5-10 Link Here
5
language and state variable methods to simulate problems of interest
5
language and state variable methods to simulate problems of interest
6
to electrical engineers.
6
to electrical engineers.
7
7
8
This package does not include online documentation.  Documentation in
8
WWW: http://alpha.fh-friedberg.de/iem/84.html
9
PDF format, in English and German, is available in the directory
10
work/sceptre*/doc.
(-)pkg-plist (-3 lines)
Lines 10-15 Link Here
10
lib/libx3.a
10
lib/libx3.a
11
lib/usrlib.a
11
lib/usrlib.a
12
lib/modellib.dat
12
lib/modellib.dat
13
%%PORTDOCS%%%%DOCSDIR%%/doc_en.pdf
14
%%PORTDOCS%%%%DOCSDIR%%/doc_ger.pdf
15
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)files/patch-aa (-19 lines)
Removed Link Here
1
--- x3/qqqcpu.f    Mon Oct  4 03:53:42 1999
2
+++ x3/qqqcpu.f   Sun Feb 11 14:34:50 2001
3
@@ -9,9 +9,14 @@
4
       data       r0 /1d6/ 
5
       intrinsic  ETime
6
  
7
-      CALL ETime(RESULT, TARRAY)
8
+C     This appears not to be complete.  The original code contained the
9
+C     following two code lines, which generate an "incorrect type" error.
10
+C     Since I don't have a description of ETIME, just carry out the sentiment 
11
+C     of the comment above
12
+C     CALL ETime(RESULT, TARRAY)
13
 
14
-      r2 = r0 - tarray(1)
15
+C     r2 = r0 - tarray(1)
16
+      r2 = r0
17
 
18
       RETURN 
19
 
(-)files/patch-ab (-41 lines)
Removed Link Here
1
--- Makefile.orig	Sun Nov 12 16:25:44 2000
2
+++ Makefile	Fri Jan 12 21:27:09 2007
3
@@ -1,5 +1,3 @@
4
-FC      = g77
5
-FFLAGS  = -fno-automatic -O
6
 BASEDIR = `pwd`
7
 INSTDIR = /usr/local
8
 LIBDIR  = ${INSTDIR}/lib
9
@@ -13,19 +11,19 @@
10
 	cd x1;  ${MAKE} "FC=${FC}" "FFLAGS=${FFLAGS}" 
11
 	cd x2;  ${MAKE} "FC=${FC}" "FFLAGS=${FFLAGS}" 
12
 install:
13
-	install -s -m 755 x1/exec1          ${BINDIR}
14
-	install -m 644    x2/exec2.o        ${LIBDIR}
15
-	install -m 644    x2/libx2.a        ${LIBDIR}
16
-	install -s -m 755 x3/ngp_gnu        ${BINDIR}
17
-	install -s -m 755 x3/asa            ${BINDIR}
18
-	install -m 644    x3/libx3.a        ${LIBDIR}
19
-	install -m 755    bin/sceptre       ${BINDIR}
20
-	install -m 755    bin/sceptre.inst  ${BINDIR}
21
-	install -m 755    bin/ngp           ${BINDIR}
22
-	install -m 644    lib/usrlib.a      ${LIBDIR}
23
-	install -m 644    lib/modellib.dat  ${LIBDIR}
24
-	install -d 			    ${ETCDIR}
25
-	install -m 644    etc/ngp.rc        ${ETCDIR}
26
+	install -c -s -m 755 x1/exec1          ${BINDIR}
27
+	install -c -m 644    x2/exec2.o        ${LIBDIR}
28
+	install -c -m 644    x2/libx2.a        ${LIBDIR}
29
+	install -c -s -m 755 x3/ngp_gnu        ${BINDIR}
30
+	install -c -s -m 755 x3/asa            ${BINDIR}
31
+	install -c -m 644    x3/libx3.a        ${LIBDIR}
32
+	install -c -m 755    bin/sceptre       ${BINDIR}
33
+	install -c -m 755    bin/sceptre.inst  ${BINDIR}
34
+	install -c -m 755    bin/ngp           ${BINDIR}
35
+	install -c -m 644    lib/usrlib.a      ${LIBDIR}
36
+	install -c -m 644    lib/modellib.dat  ${LIBDIR}
37
+	install -c -d 			    ${ETCDIR}
38
+	install -c -m 644    etc/ngp.rc        ${ETCDIR}
39
 	@echo "installation finished"
40
 uninstall:
41
 	@rm -fv ${BINDIR}/exec1 
(-)files/pkg-message.in (-7 lines)
Removed Link Here
1
2
======================================================================
3
This package does not include online documentation.  You will find PDF
4
documents in English and German in the directory
5
%%DOCSDIR%%
6
======================================================================
7

Return to bug 166565