Date: Sat, 16 Apr 2005 19:09:12 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@FreeBSD.org Subject: ports/79999: [PATCH] www/plog: update to 1.0 Message-ID: <20050416110912.E43093EA11E@utopia.leeym.com> Resent-Message-ID: <200504161110.j3GBAQVY079221@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79999 >Category: ports >Synopsis: [PATCH] www/plog: update to 1.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Apr 16 11:10:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.4-PRERELEASE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Tue Mar 15 10:20:57 CST 2005 >Description: - Update to 1.0 - add all plugins This PR obsoletes PR 79996 Removed file(s): - pkg-plist Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- plog-1.0.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/plog/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- Makefile 30 Dec 2004 05:05:45 -0000 1.4 +++ Makefile 16 Apr 2005 11:08:19 -0000 @@ -6,21 +6,22 @@ # PORTNAME= plog -PORTVERSION= 0.3.2 +PORTVERSION= 1.0 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= plog +DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} _all_plugins${EXTRACT_SUFX} MAINTAINER= clsung@FreeBSD.org COMMENT= A PHP and MySQL based blogging platform -USE_BZIP2= YES +USE_ZIP= YES -USE_PHP= mysql pcre session +USE_PHP= ctype mysql pcre session PHP4_PORT?= www/mod_php4 NO_BUILD= YES WANT_PHP_WEB= YES -PLOGDIR?= www/data-dist/plog +PLOGDIR?= www/data/plog PLIST= ${WRKDIR}/pkg-plist OPTIONS= GD "With GD Support" on \ @@ -41,20 +42,21 @@ @${ECHO_CMD} "Without GD or ImageMagick support. No thumbnails will be generated at all." .endif +post-extract: + @cd ${WRKDIR} && ${MV} `${LS} | ${GREP} -v ${DISTNAME}` ${DISTNAME}/plugins + pre-install: - @${RM} ${WRKSRC}/.cvsignore - cd ${WRKSRC} && ${FIND} -s . -type f | \ + @${RM} -f ${PLIST} + @cd ${WRKSRC} && ${FIND} -s . -type f | \ ${SED} -e 's|^./||;s|^|${PLOGDIR}/|' > ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrm ${PLOGDIR}/|' >> ${PLIST} \ && ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST} do-install: - -${MKDIR} ${PREFIX}/${PLOGDIR} - @${CHOWN} www:www ${PREFIX}/${PLOGDIR} - @${CHMOD} 755 ${PREFIX}/${PLOGDIR} + -@${MKDIR} ${PREFIX}/${PLOGDIR} @${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR} - @${CHOWN} www:www ${PREFIX}/${PLOGDIR}/tmp + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR} post-install: @${SED} -e 's|%%PLOGDIR%%|${PREFIX}/${PLOGDIR}|' ${PKGMESSAGE} Index: distinfo =================================================================== RCS file: /home/pcvs/ports/www/plog/distinfo,v retrieving revision 1.1 diff -u -u -r1.1 distinfo --- distinfo 28 Oct 2004 02:32:09 -0000 1.1 +++ distinfo 16 Apr 2005 11:08:19 -0000 @@ -1,2 +1,4 @@ -MD5 (plog-0.3.2.tar.bz2) = 1c6bb120930306646af92ddc0f0b557f -SIZE (plog-0.3.2.tar.bz2) = 1003647 +MD5 (plog-1.0.zip) = 4d48680437c8be9a6427ba78964b0e9f +SIZE (plog-1.0.zip) = 2420990 +MD5 (_all_plugins.zip) = bec541c9d53e827a9294a8347271d4a0 +SIZE (_all_plugins.zip) = 1662374 Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- pkg-plist 28 Oct 2004 02:32:09 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1 +0,0 @@ -@comment real PLIST will be generated in pre-install phase --- plog-1.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050416110912.E43093EA11E>