pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/typolight Make typolight directory a place to comm...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23d5292d5c4a
branches:  trunk
changeset: 557958:23d5292d5c4a
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Apr 26 03:34:13 2009 +0000

description:
Make typolight directory a place to common files of typolight packages.

diffstat:

 www/typolight/DEINSTALL        |    17 -
 www/typolight/DESCR            |    22 -
 www/typolight/INSTALL          |    13 -
 www/typolight/MESSAGE          |    15 -
 www/typolight/Makefile         |   120 --
 www/typolight/Makefile.common  |    24 +-
 www/typolight/Makefile.example |    39 +
 www/typolight/PLIST            |  1870 ----------------------------------------
 www/typolight/distinfo         |     7 -
 www/typolight/options.mk       |     4 +-
 www/typolight/patches/patch-ab |    12 -
 www/typolight/patches/patch-ac |    31 -
 12 files changed, 57 insertions(+), 2117 deletions(-)

diffs (truncated from 2238 to 300 lines):

diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/DEINSTALL
--- a/www/typolight/DEINSTALL   Sun Apr 26 03:32:03 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-# $NetBSD: DEINSTALL,v 1.2 2008/12/15 03:05:11 taca Exp $
-
-TL_WEBDIR="@PREFIX@/@TL_WEBDIR@"
-TL_DIRS="templates system/drivers system/libraries system/logs \
-        system/modules system/themes system/config system"
-
-case ${STAGE} in
-DEINSTALL)
-       ${FIND} ${TL_WEBDIR}/system/html -type f ! -name index.html \
-               -exec ${RM} -f {} \;
-       ;;
-POST-DEINSTALL)
-       for d in ${TL_DIRS} ${TL_WEBDIR}; do
-               ${RMDIR} $d >/dev/null 2>&1
-       done
-       ;;
-esac
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/DESCR
--- a/www/typolight/DESCR       Sun Apr 26 03:32:03 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-TYPOlight webCMS is a powerful web content management system that
-specializes in accessibility (back end and front end) and uses XHTML
-and CSS to generate W3C/WAI compliant pages. It was developed by Leo
-Feyer in 2004 and has been released under the Lesser General Public
-License (LGPL).
-
-Here are some prominent features that make TYPOlight stand out from
-the variety of content management systems. If you want to learn more,
-check out the full feature list ( http://www.typolight.org/features.html).
-
-* Live update feature
-* Multilingual documentation
-* Accessible XHTML strict output
-* Uses Ajax and Web 2.0 technologies
-* Multi-language support (character set UTF-8)
-* Cross-browser CSS framework generator (IE7 compatible)
-* Built-in file manager, search engine and form generator
-* Multiple back end languages and back end themes
-* Front end output 100% template based
-* Versioning and undo management
-
-Note: Live update feature dosen't work because of pkgsrc's nature.
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/INSTALL
--- a/www/typolight/INSTALL     Sun Apr 26 03:32:03 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-# $NetBSD: INSTALL,v 1.1 2008/11/06 11:23:14 taca Exp $
-
-TL_UPDATE="@TL_UPDATE@"
-TL_WEBDIR="@PREFIX@/@TL_WEBDIR@"
-TL_OWN="@WWWOWN@"
-
-case ${STAGE} in
-POST-INSTALL)
-       case "${TL_UPDATE}" in
-       [Yy][Ee][Ss])   ${CHOWN} -R ${TL_OWN} ${TL_WEBDIR};;
-       esac
-       ;;
-esac
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/MESSAGE
--- a/www/typolight/MESSAGE     Sun Apr 26 03:32:03 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2009/02/07 04:52:54 taca Exp $
-
-To complete the setup, please read:
-
-       ${PREFIX}/share/doc/typolight/README
-
-If you customize your frontend template (fe_page) befor TYPOlight 2.6.3
-and before, you need to update it for current release.
-
-Check corresponding articles in TYPOligt's form:
-
-       http://www.typolight.org/forum/topic/9798.html
-
-===========================================================================
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/Makefile
--- a/www/typolight/Makefile    Sun Apr 26 03:32:03 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,120 +0,0 @@
-# $NetBSD: Makefile,v 1.13 2009/04/07 13:19:20 taca Exp $
-#
-
-DISTNAME=      typolight-${TL_VERSION}
-PKGREVISION=   2
-CATEGORIES=    www
-MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=typolight/}
-
-MAINTAINER=    taca%NetBSD.org@localhost
-HOMEPAGE=      http://www.typolight.org/
-COMMENT=       Powerful web content management system (CMS)
-
-DEPENDS+=      ${PHP_PKG_PREFIX}-gd>=5.1.0:../../graphics/php-gd
-DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=5.1.0:../../misc/php-mbstring
-DEPENDS+=      ${PHP_PKG_PREFIX}-mysql>=5.1.0:../../databases/php-mysql
-DEPENDS+=      ${PHP_PKG_PREFIX}-mcrypt>=5.1.0:../../security/php-mcrypt
-DEPENDS+=      ${PHP_PKG_PREFIX}-soap>=5.1.0:../../net/php5-soap
-
-PKG_DESTDIR_SUPPORT=   destdir
-
-PHP_VERSIONS_ACCEPTED= 5
-
-USE_TOOLS=     pax
-NO_BUILD=      yes
-
-EG_DATA=       ${WWW_EG_FILES} system/config tl_files
-EG_FILES=      system/config/config.php system/config/countries.php \
-               system/config/dcaconfig.php system/config/languages.php \
-               system/config/tcpdf.php system/config/timezones.php \
-               system/config/tinyFlash.php system/config/tinyMCE.php \
-               system/config/tinyNews.php
-TMPL_FILES=    tl_files/tiny_templates/index.html \
-               tl_files/xBrowser_style_sheets/xBasic.css \
-               tl_files/xBrowser_style_sheets/xElements.css \
-               tl_files/xBrowser_style_sheets/xForm.css \
-               tl_files/xBrowser_style_sheets/xNavigation.css
-WWW_EG_FILES=  basic.css print.css robots.txt
-
-CONF_FILES_PERMS+=     ${TL_EGDIR}/system/config/localconfig.php \
-                       ${TL_WEBDIR}/system/config/localconfig.php \
-                       ${APACHE_USER} ${APACHE_GROUP} 0600
-
-CONF_FILES+=           ${TL_EGDIR}/typolight.conf \
-                       ${PKG_SYSCONFDIR}/typolight.conf
-
-.for f in ${EG_FILES}
-CONF_FILES+=           ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f}
-.endfor
-
-.for f in ${TMPL_FILES}
-REQD_FILES+=           ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f}
-.endfor
-
-.for f in ${WWW_EG_FILES}
-CONF_FILES_PERMS+=     ${TL_EGDIR}/${f} ${TL_WEBDIR}/${f} \
-                       ${APACHE_USER} ${APACHE_GROUP} 0644
-.endfor
-
-SUBST_CLASSES+=                conf
-SUBST_FILES.conf+=     ${WRKDIR}/typolight.conf
-SUBST_SED.conf+=        -e 's|@PREFIX@|${PREFIX:Q}|g'
-SUBST_SED.conf+=        -e 's|@TL_WEBDIR@|${TL_WEBDIR:Q}|g'
-SUBST_STAGE.conf=      post-configure
-
-WWW_FILES=     ._htaccess CHANGELOG.txt INSTALL.txt LICENSE.txt \
-               cron.php flash.php index.php \
-               plugins templates typolight
-WWW_SYSFILES=  config/.htaccess constants.php drivers functions.php \
-               html iefixes.css initialize.php interface.php libraries \
-               logs/.htaccess mbstring.php modules themes tmp/.htaccess \
-               typolight.css
-
-INSTALLATION_DIRS+=    ${TL_DOCDIR} ${TL_EGDIR} ${TL_WEBDIR}/system/config
-OWN_DIRS_PERMS+= \
-               ${TL_WEBDIR} ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/plugins ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/system ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/system/drivers ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/system/html ${BINOWN} ${APACHE_GROUP} 0770 \
-               ${TL_WEBDIR}/system/libraries ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/system/logs ${BINOWN} ${APACHE_GROUP} 0770 \
-               ${TL_WEBDIR}/system/modules ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/system/themes ${BINOWN} ${APACHE_GROUP} 0775 \
-               ${TL_WEBDIR}/system/tmp ${BINOWN} ${APACHE_GROUP} 0770 \
-               ${TL_WEBDIR}/templates ${BINOWN} ${APACHE_GROUP} 0770 \
-               ${TL_WEBDIR}/tl_files ${BINOWN} ${APACHE_GROUP} 0770 \
-               ${TL_WEBDIR}/tl_files/tiny_templates \
-               ${BINOWN} ${APACHE_GROUP} 0770 \
-               ${TL_WEBDIR}/tl_files/xBrowser_style_sheets \
-               ${BINOWN} ${APACHE_GROUP} 0770
-
-PKG_GROUPS_VARS+=      APACHE_GROUP
-PKG_USERS_VARS+=       APACHE_USER
-
-.include "options.mk"
-
-pre-configure:
-       ${CP} ${FILESDIR}/typolight.conf ${WRKDIR}
-       cd ${WRKSRC}; ${RM} -rf music_academy.css \
-               templates/example_website.sql tl_files/music_academy
-
-pre-install:
-       ${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
-
-do-install:
-       cd ${WRKSRC}; pax -rw -pm ${WWW_FILES} ${DESTDIR}${PREFIX}/${TL_WEBDIR}
-       cd ${WRKSRC}/system; \
-               pax -rw -pm ${WWW_SYSFILES} \
-                       ${DESTDIR}${PREFIX}/${TL_WEBDIR}/system; \
-               ${INSTALL_DATA} config/.htaccess \
-                       ${DESTDIR}${PREFIX}/${TL_WEBDIR}/system/config
-       cd ${WRKSRC}; pax -rw -pm ${EG_DATA} ${DESTDIR}${PREFIX}/${TL_EGDIR}
-       rm -f ${DESTDIR}${PREFIX}/${TL_EGDIR}/system/config/.htaccess
-       ${INSTALL_DATA} ${WRKDIR}/typolight.conf ${DESTDIR}${PREFIX}/${TL_EGDIR}
-       ${INSTALL_DATA} ${FILESDIR}/README \
-               ${DESTDIR}${PREFIX}/${TL_DOCDIR}
-
-.include "Makefile.common"
-.include "../../lang/php/phpversion.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/Makefile.common
--- a/www/typolight/Makefile.common     Sun Apr 26 03:32:03 2009 +0000
+++ b/www/typolight/Makefile.common     Sun Apr 26 03:34:13 2009 +0000
@@ -1,9 +1,15 @@
-# $NetBSD: Makefile.common,v 1.9 2009/03/14 03:56:56 taca Exp $
+# $NetBSD: Makefile.common,v 1.10 2009/04/26 03:34:13 taca Exp $
 #
+# used by www/typolight26/Makefile
+# used by www/typolight27/Makefile
+# used by www/typolight26-translations/Makefile
+# used by www/typolight27-translations/Makefile
 # used by www/typolight-example/Makefile
-# used by www/typolight-translations/Makefile
 
-TL_VERSION=    2.6.7
+TL_VER?=       ${TL_VERSION:C/([0-9]+)\.([0-9]+)\..*/\1\2/}
+TL_PKGVER=     ${TL_VERSION:S/.RC/rc/}
+
+LICENSE=       gnu-lgpl-v2.1
 
 FILES_SUBST+=  PAX=${PAX} TL_EGDIR=${TL_EGDIR:Q} TL_WEBDIR=${TL_WEBDIR:Q} \
                WWWGRP=${APACHE_GROUP:Q} WWWOWN=${APACHE_USER:Q}
@@ -27,10 +33,12 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-PKG_SYSCONFSUBDIR?=    typolight
+PKG_SYSCONFSUBDIR?=    typolight${TL_VER}
 
-TL_DOCDIR?=    share/doc/typolight
-TL_EGDIR?=     share/examples/typolight
-TL_WEBDIR?=    share/httpd/typolight
+TL_DOCDIR?=    share/doc/typolight${TL_VER}
+TL_EGDIR?=     share/examples/typolight${TL_VER}
+TL_WEBDIR?=    share/typolight${TL_VER}
 
-BUILD_DEFS+=   APACHE_GROUP APACHE_USER TL_DOCDIR TL_EGDIR TL_WEBDIR
+BUILD_DEFS+=   APACHE_USER TL_DOCDIR TL_EGDIR TL_WEBDIR
+
+FILESDIR=      ${.CURDIR}/../../www/typolight/files
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/Makefile.example
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/typolight/Makefile.example    Sun Apr 26 03:34:13 2009 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile.example,v 1.1 2009/04/26 03:34:13 taca Exp $
+#
+
+DISTNAME=      typolight-${TL_VERSION}
+PKGNAME=       typolight${TL_VER}-example-${TL_PKGVER}
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=typolight/}
+
+MAINTAINER=    taca%NetBSD.org@localhost
+HOMEPAGE=      http://www.typolight.org/
+COMMENT=       Sample site data for TYPOlight
+
+DEPENDS+=      typolight${TL_VER}>=${TL_PKGVER}:../../www/typolight${TL_VER}
+
+DISTINFO_FILE= ${.CURDIR}/../../www/typolight${TL_VER}/distinfo
+
+USE_TOOLS=     pax
+NO_BUILD=      yes
+NO_CONFIGURE=  yes
+
+PKG_DESTDIR_SUPPORT=   destdir
+
+WWW_EG_FILES=  music_academy.css tl_files/music_academy
+WWW_FILE=      templates/example_website.sql
+
+.for f in ${WWW_EG_FILES} ${WWW_FILE}
+EXTRACT_ELEMENTS+=     ${DISTNAME}/${f}
+.endfor
+
+PKG_GROUPS_VARS+=      APACHE_GROUP
+PKG_USERS_VARS+=       APACHE_USER
+
+INSTALLATION_DIRS+=    ${TL_WEBDIR}/templates
+
+do-install:
+       cd ${WRKSRC}; \
+               pax -rw -pm ${WWW_EG_FILES} ${DESTDIR}${PREFIX}/${TL_EGDIR}
+       cd ${WRKSRC}; ${INSTALL_DATA} ${WWW_FILE} \
+               ${DESTDIR}${PREFIX}/${TL_WEBDIR}/templates
diff -r 0290b4d22e59 -r 23d5292d5c4a www/typolight/PLIST
--- a/www/typolight/PLIST       Sun Apr 26 03:32:03 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,1870 +0,0 @@
-@comment $NetBSD: PLIST,v 1.7 2009/03/14 03:56:56 taca Exp $
-${TL_DOCDIR}/README
-${TL_EGDIR}/basic.css
-${TL_EGDIR}/print.css
-${TL_EGDIR}/robots.txt
-${TL_EGDIR}/system/config/config.php



Home | Main Index | Thread Index | Old Index