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

(-)lang/icon/Makefile (-20 / +21 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	icon
8
PORTNAME=	icon
9
PORTVERSION=	9.4.0
9
PORTVERSION=	9.4.1
10
CATEGORIES=	lang
10
CATEGORIES=	lang
11
MASTER_SITES=	http://www.cs.arizona.edu/icon/ftp/packages/unix/
11
MASTER_SITES=	http://www.cs.arizona.edu/icon/ftp/packages/unix/
12
DISTNAME=	${PORTNAME}.v${PORTVERSION:S/.//g}src
12
DISTNAME=	${PORTNAME}.v${PORTVERSION:S/.//g}src
Lines 16-22 Link Here
16
16
17
ONLY_FOR_ARCHS=	alpha i386
17
ONLY_FOR_ARCHS=	alpha i386
18
18
19
.ifdef WITHOUT_X11
19
USE_REINPLACE=	yes
20
ALL_TARGET=	All
21
22
MAN1=		icont.1
23
24
ARCH_NAME=	${OPSYS:L}
25
ICONDIR=	${PREFIX}/lib/${PORTNAME}
26
27
.if defined(WITHOUT_X11)
20
CONFIG_CMD=	Configure
28
CONFIG_CMD=	Configure
21
PLIST_SUB=	WITHOUT_X11="@comment "
29
PLIST_SUB=	WITHOUT_X11="@comment "
22
.else
30
.else
Lines 25-68 Link Here
25
CONFIG_CMD=	X-Configure
33
CONFIG_CMD=	X-Configure
26
PLIST_SUB=	WITHOUT_X11=
34
PLIST_SUB=	WITHOUT_X11=
27
.endif
35
.endif
28
USE_REINPLACE=	yes
29
ALL_TARGET=	All
30
31
MAN1=		icont.1
32
36
33
ARCH_NAME=	${ARCH:S/i386/intel/}_${OPSYS:L}
37
post-patch:
34
ICONDIR=	${PREFIX}/lib/${PORTNAME}
35
36
pre-patch:
37
	@${REINPLACE_CMD} -e "s|^CC.*|CC=${CC}|g ; \
38
	@${REINPLACE_CMD} -e "s|^CC.*|CC=${CC}|g ; \
38
		 s|^CFLAGS.*|CFLAGS=${CFLAGS}|g ; \
39
		 s|^CFLAGS.*|CFLAGS=${CFLAGS}|g ; \
39
		 s|^XLIBS.*|XLIBS=-L${X11BASE}/lib -lX11|g" \
40
		 s|^XLIBS.*|XLIBS=-L${X11BASE}/lib -lX11|g" \
40
		${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs
41
		${WRKSRC}/config/unix/${ARCH_NAME}/Makedefs
41
	@${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin
42
	@${REINPLACE_CMD} -e 's|/opt/icon|${ICONDIR}|g' ${WRKSRC}/ipl/BuildBin
43
	@${REINPLACE_CMD} -e 's|ld -Bshareable|\$$CC -shared|g ; \
44
		 s|-lc||g' ${WRKSRC}/ipl/cfuncs/mklib.sh
42
45
43
do-configure:
46
do-configure:
44
	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
47
	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
45
		${MAKEFILE} ${MAKE_ARGS} ${CONFIG_CMD} name=${ARCH_NAME})
48
		${MAKEFILE} ${MAKE_ARGS} ${CONFIG_CMD} name=${ARCH_NAME})
46
49
47
do-install:
50
do-install:
48
	${INSTALL_MAN} ${WRKSRC}/man/man1/icont.1 ${PREFIX}/man/man1
51
	${INSTALL_MAN} ${WRKSRC}/man/man1/icont.1 ${MANPREFIX}/man/man1
49
	@${MKDIR} ${ICONDIR}/bin
52
	@${MKDIR} ${ICONDIR}/bin
50
.for file in icont iconx patchstr
53
.for file in icont iconx patchstr
51
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${ICONDIR}/bin
54
	${INSTALL_PROGRAM} ${WRKSRC}/bin/${file} ${ICONDIR}/bin/${file}
52
.endfor
53
.ifndef WITHOUT_X11
54
.for file in colrbook colrpick fontpick ipatch palette vib wevents xgamma
55
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${ICONDIR}/bin
56
.endfor
55
.endfor
57
.endif
58
.for file in icont iconx
56
.for file in icont iconx
59
	@${LN} -sf ${ICONDIR}/bin/${file} ${PREFIX}/bin/${file}
57
	@${LN} -sf ${ICONDIR}/bin/${file} ${PREFIX}/bin/${file}
60
.endfor
58
.endfor
61
.ifndef WITHOUT_X11
62
	@${LN} -sf ${ICONDIR}/bin/vib ${PREFIX}/bin/vib
63
.endif
64
	@${MKDIR} ${ICONDIR}/lib
59
	@${MKDIR} ${ICONDIR}/lib
65
	${INSTALL_DATA} ${WRKSRC}/lib/*.* ${ICONDIR}/lib
60
	${INSTALL_DATA} ${WRKSRC}/lib/*.* ${ICONDIR}/lib
61
.if !defined(WITHOUT_X11)
62
.for file in colrbook colrpick fontpick ipatch palette vib wevents xgamma
63
	${INSTALL_SCRIPT} ${WRKSRC}/bin/${file} ${ICONDIR}/bin/${file}
64
.endfor
65
	@${LN} -sf ${ICONDIR}/bin/vib ${PREFIX}/bin/vib
66
.endif
66
.if !defined(NOPORTDOCS)
67
.if !defined(NOPORTDOCS)
67
	@${MKDIR} ${DOCSDIR}
68
	@${MKDIR} ${DOCSDIR}
68
	${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DOCSDIR}
69
	${INSTALL_DATA} ${WRKSRC}/doc/*.* ${DOCSDIR}
(-)lang/icon/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (icon.v940src.tgz) = 1e4b77ad34af335d8eb5b64f16f7853a
1
MD5 (icon.v941src.tgz) = 5ab62c32eb0d20fa6ee5840dd88a09f6
(-)lang/icon/pkg-plist (-4 / +5 lines)
Lines 329-336 Link Here
329
lib/icon/lib/iscreen.u2
329
lib/icon/lib/iscreen.u2
330
lib/icon/lib/isdplot.u1
330
lib/icon/lib/isdplot.u1
331
lib/icon/lib/isdplot.u2
331
lib/icon/lib/isdplot.u2
332
lib/icon/lib/ispf.u1
333
lib/icon/lib/ispf.u2
334
lib/icon/lib/iterfncs.u1
332
lib/icon/lib/iterfncs.u1
335
lib/icon/lib/iterfncs.u2
333
lib/icon/lib/iterfncs.u2
336
lib/icon/lib/itlib.u1
334
lib/icon/lib/itlib.u1
Lines 385-390 Link Here
385
lib/icon/lib/lstfncs.u2
383
lib/icon/lib/lstfncs.u2
386
lib/icon/lib/lsystem.u1
384
lib/icon/lib/lsystem.u1
387
lib/icon/lib/lsystem.u2
385
lib/icon/lib/lsystem.u2
386
lib/icon/lib/lterps.u1
387
lib/icon/lib/lterps.u2
388
lib/icon/lib/lu.u1
388
lib/icon/lib/lu.u1
389
lib/icon/lib/lu.u2
389
lib/icon/lib/lu.u2
390
lib/icon/lib/maccolor.icn
390
lib/icon/lib/maccolor.icn
Lines 481-486 Link Here
481
lib/icon/lib/plural.u2
481
lib/icon/lib/plural.u2
482
lib/icon/lib/polynom.u1
482
lib/icon/lib/polynom.u1
483
lib/icon/lib/polynom.u2
483
lib/icon/lib/polynom.u2
484
lib/icon/lib/polyseq.u1
485
lib/icon/lib/polyseq.u2
484
lib/icon/lib/polystuf.u1
486
lib/icon/lib/polystuf.u1
485
lib/icon/lib/polystuf.u2
487
lib/icon/lib/polystuf.u2
486
lib/icon/lib/popen.u1
488
lib/icon/lib/popen.u1
Lines 545-552 Link Here
545
lib/icon/lib/revadd.u2
547
lib/icon/lib/revadd.u2
546
lib/icon/lib/rewrap.u1
548
lib/icon/lib/rewrap.u1
547
lib/icon/lib/rewrap.u2
549
lib/icon/lib/rewrap.u2
548
lib/icon/lib/rexx.u1
549
lib/icon/lib/rexx.u2
550
lib/icon/lib/rgbcomp.u1
550
lib/icon/lib/rgbcomp.u1
551
lib/icon/lib/rgbcomp.u2
551
lib/icon/lib/rgbcomp.u2
552
lib/icon/lib/rgbrec.u1
552
lib/icon/lib/rgbrec.u1
Lines 800-805 Link Here
800
%%PORTDOCS%%share/doc/icon/files.htm
800
%%PORTDOCS%%share/doc/icon/files.htm
801
%%PORTDOCS%%share/doc/icon/gb80.jpg
801
%%PORTDOCS%%share/doc/icon/gb80.jpg
802
%%PORTDOCS%%share/doc/icon/ib80.jpg
802
%%PORTDOCS%%share/doc/icon/ib80.jpg
803
%%PORTDOCS%%share/doc/icon/icon.txt
803
%%PORTDOCS%%share/doc/icon/icont.txt
804
%%PORTDOCS%%share/doc/icon/icont.txt
804
%%PORTDOCS%%share/doc/icon/index.htm
805
%%PORTDOCS%%share/doc/icon/index.htm
805
%%PORTDOCS%%share/doc/icon/install.htm
806
%%PORTDOCS%%share/doc/icon/install.htm

Return to bug 47329