Date: Mon, 25 Mar 2002 02:59:47 -0800 (PST) From: KATO Tsuguru <tkato@prontomail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/36296: Update port: www/asp2php to 0.76.3 Message-ID: <200203251059.g2PAxl316884@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 36296 >Category: ports >Synopsis: Update port: www/asp2php to 0.76.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Mar 25 03:00:15 PST 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.4-RELEASE i386 >Organization: >Environment: >Description: - Update to version 0.76.3 Remove file: files/patch-aa >How-To-Repeat: >Fix: diff -urN /usr/ports/www/asp2php/Makefile www/asp2php/Makefile --- /usr/ports/www/asp2php/Makefile Mon Mar 25 19:13:10 2002 +++ www/asp2php/Makefile Mon Mar 25 19:44:43 2002 @@ -6,33 +6,36 @@ # PORTNAME= asp2php -PORTVERSION= 0.75.12 +PORTVERSION= 0.76.3 CATEGORIES= www MASTER_SITES= http://home.i1.net/~naken/asp2php/ -DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -WRKSRC= ${WRKDIR}/${DISTNAME} +WRKSRC= ${WRKDIR}/${DISTNAME}/src WANT_GTK= yes +MAKE_ENV= FLAGS="${CFLAGS}" .include <bsd.port.pre.mk> .if defined(HAVE_GTK) USE_GTK= yes -ALL_TARGET= all gtkasp2php -INSTALL_TARGET= install install-gtk +ALL_TARGET= default gui PLIST_SUB+= WANT_GTK="" .else +ALL_TARGET= default PLIST_SUB+= WANT_GTK="@comment " .endif post-patch: - @${PERL} -pi -e 's,strcasestr,strcasestr_,' ${WRKSRC}/functions.h \ - ${WRKSRC}/general.c + @${PERL} -pi -e 's|^CC=|#CC=|g ; \ + s|`gtk-config|`\$$\{GTK_CONFIG\}|g' ${WRKSRC}/Makefile -pre-build: - ${PERL} -pi -e "s:gtk-config:${GTK_CONFIG}:g" ${WRKSRC}/Makefile +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/asp2php ${PREFIX}/bin +.if defined(HAVE_GTK) + ${INSTALL_PROGRAM} ${WRKSRC}/gtkasp2php ${PREFIX}/bin +.endif .include <bsd.port.post.mk> diff -urN /usr/ports/www/asp2php/distinfo www/asp2php/distinfo --- /usr/ports/www/asp2php/distinfo Sun Mar 11 04:46:48 2001 +++ www/asp2php/distinfo Wed Mar 20 20:26:11 2002 @@ -1 +1 @@ -MD5 (asp2php-0.75.12.tar.gz) = dd2375e825ec98062ea257c8fde576c0 +MD5 (asp2php-0.76.3.tar.gz) = 3d3da1daf4536a998d044cfa73f227c6 diff -urN /usr/ports/www/asp2php/files/patch-aa www/asp2php/files/patch-aa --- /usr/ports/www/asp2php/files/patch-aa Sun Mar 11 04:46:48 2001 +++ www/asp2php/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,68 +0,0 @@ ---- Makefile.orig Tue Feb 27 17:50:21 2001 -+++ Makefile Sun Mar 11 04:43:49 2001 -@@ -1,51 +1,21 @@ -+PROG= asp2php -+NOMAN= true -+CC?= cc -+CFLAGS?=-O -pipe -+CFLAGS+=-Wall -+SRCS= conditionals.c database.c evalelement.c expression.c general.c \ -+ gettoken.c html.c loops.c mysql.c odbc.c oracle.c postgres.c \ -+ response.c request.c session.c sybase.c asp2php.c - --CC=gcc -- --default: -- $(CC) -c conditionals.c -Wall -- $(CC) -c database.c -Wall -- $(CC) -c evalelement.c -Wall -- $(CC) -c expression.c -Wall -- $(CC) -c general.c -Wall -- $(CC) -c gettoken.c -Wall -- $(CC) -c html.c -Wall -- $(CC) -c loops.c -Wall -- $(CC) -c mysql.c -Wall -- $(CC) -c odbc.c -Wall -- $(CC) -c oracle.c -Wall -- $(CC) -c postgres.c -Wall -- $(CC) -c response.c -Wall -- $(CC) -c request.c -Wall -- $(CC) -c session.c -Wall -- $(CC) -c sybase.c -Wall -- $(CC) -o asp2php asp2php.c conditionals.o database.o \ -- evalelement.o expression.o general.o gettoken.o \ -- html.o loops.o mysql.o \ -- odbc.o oracle.o postgres.o response.o \ -- request.o session.o sybase.o -Wall -- @echo "" --# @echo "Done! You may type: make gtkasp2php for the optional GUI now" -- --clean: -- @if [ -e database.o ]; then rm *.o; fi; -- @if [ -e asp2php ]; then rm asp2php; fi; -- @if [ -e gtkasp2php ]; then rm gtkasp2php; fi; -- @if [ -e unipiss ]; then rm unipiss; fi; -- @echo "Clean!" -+CLEANFILES+= gtkasp2php.o gtkasp2php - - gtkasp2php: gtkasp2php.c -- $(CC) -o gtkasp2php gtkasp2php.c `gtk-config --cflags` `gtk-config --libs` -- --unipiss: -- $(CC) -o unipiss unipiss.c html.o general.o -Wall -+ $(CC) -o gtkasp2php gtkasp2php.c `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs` - - install: -- @if [ -e asp2php ]; then cp asp2php /usr/local/bin; fi; -- @if [ -e unipiss ]; then cp unipiss /usr/local/bin; fi; -- @if [ -e gtkasp2php ]; then cp gtkasp2php /usr/local/bin; fi; -- @echo "Compiled programs have been installed in /usr/local/bin" -- @echo "" -- --all: default -+ $(BSD_INSTALL_PROGRAM) asp2php $(PREFIX)/bin - -+install-gtk: -+ $(BSD_INSTALL_PROGRAM) gtkasp2php $(PREFIX)/bin - -+.include <bsd.prog.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203251059.g2PAxl316884>