mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
properly update port to 5.1.
Bump PORT_EPOCH to 1 because 5.1 should be > 5.03 Submitted by: Oliver Lehmann <olivleh1@raisdorf.net>
This commit is contained in:
parent
e0da526f42
commit
bdec4c21bb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53087
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
PORTNAME= analog
|
PORTNAME= analog
|
||||||
PORTVERSION= 5.1
|
PORTVERSION= 5.1
|
||||||
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://www.analog.cx/ \
|
MASTER_SITES= http://www.analog.cx/ \
|
||||||
http://www.monash.edu.au/mirror/analog/ \
|
http://www.monash.edu.au/mirror/analog/ \
|
||||||
@ -23,6 +24,10 @@ LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd \
|
|||||||
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||||
png.5:${PORTSDIR}/graphics/png
|
png.5:${PORTSDIR}/graphics/png
|
||||||
|
|
||||||
|
LIMGDIR?= www/data/images
|
||||||
|
IMGDIR= ${PREFIX}/${LIMGDIR}
|
||||||
|
PLIST_SUB= IMGDIR=${LIMGDIR}
|
||||||
|
|
||||||
MAN1= analog.1
|
MAN1= analog.1
|
||||||
ALL_TARGET= analog
|
ALL_TARGET= analog
|
||||||
|
|
||||||
@ -30,8 +35,8 @@ ALL_TARGET= analog
|
|||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${PREFIX}/share/analog/lang
|
${MKDIR} ${PREFIX}/share/analog/lang
|
||||||
${MKDIR} ${PREFIX}/share/analog/images
|
${MKDIR} ${IMGDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/analog/images
|
${INSTALL_DATA} ${WRKSRC}/images/* ${IMGDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/lang/* ${PREFIX}/share/analog/lang
|
${INSTALL_DATA} ${WRKSRC}/lang/* ${PREFIX}/share/analog/lang
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/analog ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/analog ${PREFIX}/bin
|
||||||
.if !exists(${PREFIX}/etc/analog.cfg)
|
.if !exists(${PREFIX}/etc/analog.cfg)
|
||||||
|
@ -1,45 +1,39 @@
|
|||||||
--- src/Makefile.orig Tue May 1 03:38:33 2001
|
--- src/Makefile.orig Wed Jan 9 21:16:22 2002
|
||||||
+++ src/Makefile Fri May 4 05:15:57 2001
|
+++ src/Makefile Wed Jan 9 21:18:38 2002
|
||||||
@@ -1,12 +1,14 @@
|
@@ -1,14 +1,20 @@
|
||||||
# Makefile for analog 5.0
|
# Makefile for analog 5.1
|
||||||
# Please read docs/Readme.html, or http://www.analog.cx/
|
# Please read docs/Readme.html, or http://www.analog.cx/
|
||||||
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
-CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
||||||
+CC ?= gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
+CC ?= gcc # which compiler to use: eg cc, acc, gcc. NB Different
|
||||||
# compilers need different CFLAGS, e.g., -O instead of -O2.
|
# compilers need different CFLAGS, e.g., -O instead of -O2.
|
||||||
|
MAKE = make # which "make" to use
|
||||||
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
-CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
||||||
+LOCALBASE?=/usr/local
|
|
||||||
+CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/gd
|
+CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/gd
|
||||||
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
+#CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
|
||||||
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
|
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
|
||||||
|
# BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
|
||||||
# BS2000/OSD needs CFLAGS = -XLLML -XLLMK
|
# BS2000/OSD needs CFLAGS = -XLLML -XLLMK
|
||||||
# NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp
|
# NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp
|
||||||
-DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
|
-DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
|
||||||
|
+DEFS = -DLOGFILE=\"/var/log/httpd-access.log\" \
|
||||||
|
+ -DIMAGEDIR=\"/images/\" \
|
||||||
|
+ -DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\" \
|
||||||
|
+ -DLANGDIR=\"${PREFIX}/share/analog/lang/\" \
|
||||||
|
+ -DCONFIGDIR=\"$(PREFIX)/share/analog/\"
|
||||||
+#DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
|
+#DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ...
|
||||||
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
|
# ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ...
|
||||||
# ... -DEBCDIC -DUSE_PLAIN_SETJMP -DHAVE_GD -DHAVE_PCRE ...
|
# ... -DEBCDIC -DUSE_PLAIN_SETJMP -DHAVE_GD -DHAVE_PCRE ...
|
||||||
# ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
|
# ... -DNEED_STRCMP -DNEED_MEMMOVE -DNEED_STRTOUL ...
|
||||||
@@ -19,10 +21,23 @@
|
@@ -25,6 +31,12 @@
|
||||||
# 64-bit Solaris needs -DHAVE_ADDR_T
|
|
||||||
# DYNIX/ptx needs -D_SOCKET_VERSION=11
|
|
||||||
# MPE/iX needs -D_POSIX_SOURCE -D_SOCKET_SOURCE
|
|
||||||
+DEFS = -DLOGFILE=\"/var/log/httpd-access.log\" \
|
|
||||||
+ -DIMAGEDIR=\"/images/\" \
|
|
||||||
+ -DDEFAULTCONFIGFILE=\"$(PREFIX)/etc/analog.cfg\" \
|
|
||||||
+ -DLANGDIR=\"${PREFIX}/share/analog/lang/\" \
|
|
||||||
+ -DCONFIGDIR=\"$(PREFIX)/share/analog/\"
|
|
||||||
+
|
|
||||||
#
|
|
||||||
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS
|
OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS
|
||||||
# RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390
|
# RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390
|
||||||
-LIBS = -lm # extra libraries needed; almost all platforms (but not OS X)
|
LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS)
|
||||||
+LIBS = -lm
|
|
||||||
+
|
+
|
||||||
+.if !defined(WITHOUT_GD)
|
+.if !defined(WITHOUT_GD)
|
||||||
+DEFS+= -DHAVE_GD
|
+DEFS+= -DHAVE_GD
|
||||||
+LIBS+= -L${LOCALBASE}/lib -lgd -lpng -ljpeg -lz
|
+LIBS+= -L${LOCALBASE}/lib -lgd -lpng -ljpeg -lz
|
||||||
+.endif
|
+.endif
|
||||||
+
|
+
|
||||||
+# extra libraries needed; almost all platforms (but not OS X)
|
|
||||||
# need -lm LAST
|
# need -lm LAST
|
||||||
# if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz
|
# if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz
|
||||||
# if you defined HAVE_PCRE above you also need -lpcre
|
# if you defined HAVE_PCRE above you also need -lpcre
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- src/tree.c.orig Thu May 3 19:31:50 2001
|
--- src/tree.c.orig Wed Jan 9 21:20:12 2002
|
||||||
+++ src/tree.c Thu May 3 19:32:22 2001
|
+++ src/tree.c Wed Jan 9 21:20:24 2002
|
||||||
@@ -803,8 +803,16 @@
|
@@ -886,8 +886,16 @@
|
||||||
}
|
}
|
||||||
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
|
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
|
||||||
*name = "Unix:Linux";
|
*name = "Unix:Linux";
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
--- analog.cfg.orig Thu May 3 19:27:47 2001
|
--- analog.cfg.orig Wed Jan 9 21:21:05 2002
|
||||||
+++ analog.cfg Thu May 3 19:27:15 2001
|
+++ analog.cfg Wed Jan 9 21:21:22 2002
|
||||||
@@ -9,7 +9,8 @@
|
@@ -10,7 +10,8 @@
|
||||||
# There is a much more extensive configuration file in examples/big.cfg
|
|
||||||
#
|
#
|
||||||
# If you need a LOGFORMAT command it must go here, above the LOGFILE commands.
|
# If you need a LOGFORMAT command (most people don't -- try it without first!),
|
||||||
|
# it must go here, above the LOGFILE commands.
|
||||||
-LOGFILE logfile.log
|
-LOGFILE logfile.log
|
||||||
+LOGFORMAT COMBINED
|
+LOGFORMAT COMBINED
|
||||||
+LOGFILE /var/log/httpd-access.log
|
+LOGFILE /var/log/httpd-access.log
|
||||||
|
@ -14,7 +14,9 @@ share/analog/lang/bgmdesc.txt
|
|||||||
share/analog/lang/bgmdom.tab
|
share/analog/lang/bgmdom.tab
|
||||||
share/analog/lang/br.lng
|
share/analog/lang/br.lng
|
||||||
share/analog/lang/bra.lng
|
share/analog/lang/bra.lng
|
||||||
|
share/analog/lang/bradesc.txt
|
||||||
share/analog/lang/bradom.tab
|
share/analog/lang/bradom.tab
|
||||||
|
share/analog/lang/brdesc.txt
|
||||||
share/analog/lang/brdom.tab
|
share/analog/lang/brdom.tab
|
||||||
share/analog/lang/cat.lng
|
share/analog/lang/cat.lng
|
||||||
share/analog/lang/cata.lng
|
share/analog/lang/cata.lng
|
||||||
@ -205,120 +207,119 @@ share/analog/lang/yudom.tab
|
|||||||
%%PORTDOCS%%share/doc/analog/wasnew4.html
|
%%PORTDOCS%%share/doc/analog/wasnew4.html
|
||||||
%%PORTDOCS%%share/doc/analog/webworks.html
|
%%PORTDOCS%%share/doc/analog/webworks.html
|
||||||
%%PORTDOCS%%share/doc/analog/whatsnew.html
|
%%PORTDOCS%%share/doc/analog/whatsnew.html
|
||||||
www/data/images/analogo.gif
|
%%IMGDIR%%/analogo.gif
|
||||||
www/data/images/analogo.png
|
%%IMGDIR%%/analogo.png
|
||||||
www/data/images/bara1.gif
|
%%IMGDIR%%/bara1.gif
|
||||||
www/data/images/bara1.png
|
%%IMGDIR%%/bara1.png
|
||||||
www/data/images/bara16.gif
|
%%IMGDIR%%/bara16.gif
|
||||||
www/data/images/bara16.png
|
%%IMGDIR%%/bara16.png
|
||||||
www/data/images/bara2.gif
|
%%IMGDIR%%/bara2.gif
|
||||||
www/data/images/bara2.png
|
%%IMGDIR%%/bara2.png
|
||||||
www/data/images/bara32.gif
|
%%IMGDIR%%/bara32.gif
|
||||||
www/data/images/bara32.png
|
%%IMGDIR%%/bara32.png
|
||||||
www/data/images/bara4.gif
|
%%IMGDIR%%/bara4.gif
|
||||||
www/data/images/bara4.png
|
%%IMGDIR%%/bara4.png
|
||||||
www/data/images/bara8.gif
|
%%IMGDIR%%/bara8.gif
|
||||||
www/data/images/bara8.png
|
%%IMGDIR%%/bara8.png
|
||||||
www/data/images/barb1.gif
|
%%IMGDIR%%/barb1.gif
|
||||||
www/data/images/barb1.png
|
%%IMGDIR%%/barb1.png
|
||||||
www/data/images/barb16.gif
|
%%IMGDIR%%/barb16.gif
|
||||||
www/data/images/barb16.png
|
%%IMGDIR%%/barb16.png
|
||||||
www/data/images/barb2.gif
|
%%IMGDIR%%/barb2.gif
|
||||||
www/data/images/barb2.png
|
%%IMGDIR%%/barb2.png
|
||||||
www/data/images/barb32.gif
|
%%IMGDIR%%/barb32.gif
|
||||||
www/data/images/barb32.png
|
%%IMGDIR%%/barb32.png
|
||||||
www/data/images/barb4.gif
|
%%IMGDIR%%/barb4.gif
|
||||||
www/data/images/barb4.png
|
%%IMGDIR%%/barb4.png
|
||||||
www/data/images/barb8.gif
|
%%IMGDIR%%/barb8.gif
|
||||||
www/data/images/barb8.png
|
%%IMGDIR%%/barb8.png
|
||||||
www/data/images/barc1.gif
|
%%IMGDIR%%/barc1.gif
|
||||||
www/data/images/barc1.png
|
%%IMGDIR%%/barc1.png
|
||||||
www/data/images/barc16.gif
|
%%IMGDIR%%/barc16.gif
|
||||||
www/data/images/barc16.png
|
%%IMGDIR%%/barc16.png
|
||||||
www/data/images/barc2.gif
|
%%IMGDIR%%/barc2.gif
|
||||||
www/data/images/barc2.png
|
%%IMGDIR%%/barc2.png
|
||||||
www/data/images/barc32.gif
|
%%IMGDIR%%/barc32.gif
|
||||||
www/data/images/barc32.png
|
%%IMGDIR%%/barc32.png
|
||||||
www/data/images/barc4.gif
|
%%IMGDIR%%/barc4.gif
|
||||||
www/data/images/barc4.png
|
%%IMGDIR%%/barc4.png
|
||||||
www/data/images/barc8.gif
|
%%IMGDIR%%/barc8.gif
|
||||||
www/data/images/barc8.png
|
%%IMGDIR%%/barc8.png
|
||||||
www/data/images/bard1.gif
|
%%IMGDIR%%/bard1.gif
|
||||||
www/data/images/bard1.png
|
%%IMGDIR%%/bard1.png
|
||||||
www/data/images/bard16.gif
|
%%IMGDIR%%/bard16.gif
|
||||||
www/data/images/bard16.png
|
%%IMGDIR%%/bard16.png
|
||||||
www/data/images/bard2.gif
|
%%IMGDIR%%/bard2.gif
|
||||||
www/data/images/bard2.png
|
%%IMGDIR%%/bard2.png
|
||||||
www/data/images/bard32.gif
|
%%IMGDIR%%/bard32.gif
|
||||||
www/data/images/bard32.png
|
%%IMGDIR%%/bard32.png
|
||||||
www/data/images/bard4.gif
|
%%IMGDIR%%/bard4.gif
|
||||||
www/data/images/bard4.png
|
%%IMGDIR%%/bard4.png
|
||||||
www/data/images/bard8.gif
|
%%IMGDIR%%/bard8.gif
|
||||||
www/data/images/bard8.png
|
%%IMGDIR%%/bard8.png
|
||||||
www/data/images/bare1.gif
|
%%IMGDIR%%/bare1.gif
|
||||||
www/data/images/bare1.png
|
%%IMGDIR%%/bare1.png
|
||||||
www/data/images/bare16.gif
|
%%IMGDIR%%/bare16.gif
|
||||||
www/data/images/bare16.png
|
%%IMGDIR%%/bare16.png
|
||||||
www/data/images/bare2.gif
|
%%IMGDIR%%/bare2.gif
|
||||||
www/data/images/bare2.png
|
%%IMGDIR%%/bare2.png
|
||||||
www/data/images/bare32.gif
|
%%IMGDIR%%/bare32.gif
|
||||||
www/data/images/bare32.png
|
%%IMGDIR%%/bare32.png
|
||||||
www/data/images/bare4.gif
|
%%IMGDIR%%/bare4.gif
|
||||||
www/data/images/bare4.png
|
%%IMGDIR%%/bare4.png
|
||||||
www/data/images/bare8.gif
|
%%IMGDIR%%/bare8.gif
|
||||||
www/data/images/bare8.png
|
%%IMGDIR%%/bare8.png
|
||||||
www/data/images/barf1.gif
|
%%IMGDIR%%/barf1.gif
|
||||||
www/data/images/barf1.png
|
%%IMGDIR%%/barf1.png
|
||||||
www/data/images/barf16.gif
|
%%IMGDIR%%/barf16.gif
|
||||||
www/data/images/barf16.png
|
%%IMGDIR%%/barf16.png
|
||||||
www/data/images/barf2.gif
|
%%IMGDIR%%/barf2.gif
|
||||||
www/data/images/barf2.png
|
%%IMGDIR%%/barf2.png
|
||||||
www/data/images/barf32.gif
|
%%IMGDIR%%/barf32.gif
|
||||||
www/data/images/barf32.png
|
%%IMGDIR%%/barf32.png
|
||||||
www/data/images/barf4.gif
|
%%IMGDIR%%/barf4.gif
|
||||||
www/data/images/barf4.png
|
%%IMGDIR%%/barf4.png
|
||||||
www/data/images/barf8.gif
|
%%IMGDIR%%/barf8.gif
|
||||||
www/data/images/barf8.png
|
%%IMGDIR%%/barf8.png
|
||||||
www/data/images/barg1.gif
|
%%IMGDIR%%/barg1.gif
|
||||||
www/data/images/barg1.png
|
%%IMGDIR%%/barg1.png
|
||||||
www/data/images/barg16.gif
|
%%IMGDIR%%/barg16.gif
|
||||||
www/data/images/barg16.png
|
%%IMGDIR%%/barg16.png
|
||||||
www/data/images/barg2.gif
|
%%IMGDIR%%/barg2.gif
|
||||||
www/data/images/barg2.png
|
%%IMGDIR%%/barg2.png
|
||||||
www/data/images/barg32.gif
|
%%IMGDIR%%/barg32.gif
|
||||||
www/data/images/barg32.png
|
%%IMGDIR%%/barg32.png
|
||||||
www/data/images/barg4.gif
|
%%IMGDIR%%/barg4.gif
|
||||||
www/data/images/barg4.png
|
%%IMGDIR%%/barg4.png
|
||||||
www/data/images/barg8.gif
|
%%IMGDIR%%/barg8.gif
|
||||||
www/data/images/barg8.png
|
%%IMGDIR%%/barg8.png
|
||||||
www/data/images/barh1.gif
|
%%IMGDIR%%/barh1.gif
|
||||||
www/data/images/barh1.png
|
%%IMGDIR%%/barh1.png
|
||||||
www/data/images/barh16.gif
|
%%IMGDIR%%/barh16.gif
|
||||||
www/data/images/barh16.png
|
%%IMGDIR%%/barh16.png
|
||||||
www/data/images/barh2.gif
|
%%IMGDIR%%/barh2.gif
|
||||||
www/data/images/barh2.png
|
%%IMGDIR%%/barh2.png
|
||||||
www/data/images/barh32.gif
|
%%IMGDIR%%/barh32.gif
|
||||||
www/data/images/barh32.png
|
%%IMGDIR%%/barh32.png
|
||||||
www/data/images/barh4.gif
|
%%IMGDIR%%/barh4.gif
|
||||||
www/data/images/barh4.png
|
%%IMGDIR%%/barh4.png
|
||||||
www/data/images/barh8.gif
|
%%IMGDIR%%/barh8.gif
|
||||||
www/data/images/barh8.png
|
%%IMGDIR%%/barh8.png
|
||||||
www/data/images/html2.gif
|
%%IMGDIR%%/html2.gif
|
||||||
www/data/images/html2.png
|
%%IMGDIR%%/html2.png
|
||||||
www/data/images/sq0.png
|
%%IMGDIR%%/sq0.png
|
||||||
www/data/images/sq1.png
|
%%IMGDIR%%/sq1.png
|
||||||
www/data/images/sq2.png
|
%%IMGDIR%%/sq2.png
|
||||||
www/data/images/sq3.png
|
%%IMGDIR%%/sq3.png
|
||||||
www/data/images/sq4.png
|
%%IMGDIR%%/sq4.png
|
||||||
www/data/images/sq5.png
|
%%IMGDIR%%/sq5.png
|
||||||
www/data/images/sq6.png
|
%%IMGDIR%%/sq6.png
|
||||||
www/data/images/sq7.png
|
%%IMGDIR%%/sq7.png
|
||||||
www/data/images/sq8.png
|
%%IMGDIR%%/sq8.png
|
||||||
www/data/images/sq9.png
|
%%IMGDIR%%/sq9.png
|
||||||
www/data/images/sqg.png
|
%%IMGDIR%%/sqg.png
|
||||||
@dirrm share/analog/lang
|
@dirrm share/analog/lang
|
||||||
@dirrm share/analog
|
@dirrm share/analog
|
||||||
%%PORTDOCS%%@dirrm share/doc/analog
|
%%PORTDOCS%%@dirrm share/doc/analog
|
||||||
@unexec rmdir %D/www/data/images 2>/dev/null || true
|
@unexec rmdir %D/%%IMGDIR%% 2>/dev/null || true
|
||||||
@unexec rmdir %D/www/data 2>/dev/null || true
|
|
||||||
@unexec rmdir %D/www 2>/dev/null || true
|
|
||||||
|
Loading…
Reference in New Issue
Block a user