diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/textpattern/Makefile | 61 | ||||
-rw-r--r-- | www/textpattern/distinfo | 4 | ||||
-rw-r--r-- | www/textpattern/pkg-descr | 7 | ||||
-rw-r--r-- | www/textpattern/pkg-message | 10 | ||||
-rw-r--r-- | www/textpattern/pkg-plist | 101 |
6 files changed, 184 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 663825ef9a74..417bf0ed21e0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -841,6 +841,7 @@ SUBDIR += tdiary SUBDIR += tdiary-devel SUBDIR += tdom + SUBDIR += textpattern SUBDIR += thttpd SUBDIR += thttpd-st SUBDIR += thumbnail_index diff --git a/www/textpattern/Makefile b/www/textpattern/Makefile new file mode 100644 index 000000000000..dad7ca0a01c9 --- /dev/null +++ b/www/textpattern/Makefile @@ -0,0 +1,61 @@ +# New ports collection makefile for: textpattern +# Date created: 30 Nov 2005 +# Whom: babak@farrokhi.net +# +# $FreeBSD$ +# + +PORTNAME= textpattern +PORTVERSION= 4.0.2 +CATEGORIES= www +MASTER_SITES= http://www.textpattern.com/dload/ + +MAINTAINER= babak@farrokhi.net +COMMENT= A free, flexible, elegant, easy-to-use content management system + +NO_BUILD= YES +WANT_PHP_WEB= YES +PHP4_PORT?= www/mod_php4 +WWWOWN?= www +WWWGRP?= www +TEXTPATTERN?= www/data-dist/${PORTNAME} +PLIST_SUB+= TEXTPATTERN=${TEXTPATTERN} + +USE_PHP= mbstring xml + +OPTIONS= MYSQL "Use MySQL backend" on \ + PGSQL "Use PostgreSQL backend" off + +.if defined(PHP_VER) && ${PHP_VER} == 5 +OPTIONS+= SQLITE "Use SQLite backend" off +.endif + +PORT_DBDIR?= /var/db/ports +LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX} +OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options + +.if exists(${OPTIONSFILE}) +.include "${OPTIONSFILE}" +.endif + +# Options that default to on: +.if !defined(WITHOUT_MYSQL) || defined(WITH_MYSQL) +USE_PHP+= mysql +.endif + +.if defined(WITH_PGSQL) +USE_PHP+= pgsql +.endif + +.if defined(WITH_SQLITE) +USE_PHP+= sqlite +.endif + +do-install: + -${MKDIR} ${PREFIX}/${TEXTPATTERN} + @(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${TEXTPATTERN}/ ) + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/textpattern/distinfo b/www/textpattern/distinfo new file mode 100644 index 000000000000..f2f7a10e363b --- /dev/null +++ b/www/textpattern/distinfo @@ -0,0 +1,4 @@ +MD5 (textpattern-4.0.2.tar.gz) = b8859bb209cf8bc40b3be35fcc7b4d87 +SHA256 (textpattern-4.0.2.tar.gz) = +d2280fbdefa809043b6cbca08c1a9356c8c2cbfd80a9827a1bfeb77ca213e53d +SIZE (textpattern-4.0.2.tar.gz) = 240978 diff --git a/www/textpattern/pkg-descr b/www/textpattern/pkg-descr new file mode 100644 index 000000000000..a0eb4d7b7c4b --- /dev/null +++ b/www/textpattern/pkg-descr @@ -0,0 +1,7 @@ +A free, flexible, elegant, easy-to-use content management system +for all kinds of websites, even weblogs. + +WWW: http://www.textpattern.com/ + +- Babak Farrokhi +babak@farrokhi.net diff --git a/www/textpattern/pkg-message b/www/textpattern/pkg-message new file mode 100644 index 000000000000..76833a3205ad --- /dev/null +++ b/www/textpattern/pkg-message @@ -0,0 +1,10 @@ +----------------------------------------------------------- + +For initial setup: + + - Setup an empty mysql database + - Open web browser and browse textpattern directory + http://yourserver/subdir/textpattern/setup/ + - Follow steps on setup wizard + +----------------------------------------------------------- diff --git a/www/textpattern/pkg-plist b/www/textpattern/pkg-plist new file mode 100644 index 000000000000..c1756576d7ef --- /dev/null +++ b/www/textpattern/pkg-plist @@ -0,0 +1,101 @@ +%%TEXTPATTERN%%/HISTORY.txt +%%TEXTPATTERN%%/README.txt +%%TEXTPATTERN%%/images/1.gif +%%TEXTPATTERN%%/index.php +%%TEXTPATTERN%%/textpattern/config.php.default +%%TEXTPATTERN%%/textpattern/css.php +%%TEXTPATTERN%%/textpattern/include/import/BloggerImportTemplate.txt +%%TEXTPATTERN%%/textpattern/include/import/import_b2.php +%%TEXTPATTERN%%/textpattern/include/import/import_blogger.php +%%TEXTPATTERN%%/textpattern/include/import/import_mt.php +%%TEXTPATTERN%%/textpattern/include/import/import_mtdb.php +%%TEXTPATTERN%%/textpattern/include/import/import_wp.php +%%TEXTPATTERN%%/textpattern/include/txp_admin.php +%%TEXTPATTERN%%/textpattern/include/txp_article.php +%%TEXTPATTERN%%/textpattern/include/txp_auth.php +%%TEXTPATTERN%%/textpattern/include/txp_category.php +%%TEXTPATTERN%%/textpattern/include/txp_css.php +%%TEXTPATTERN%%/textpattern/include/txp_diag.php +%%TEXTPATTERN%%/textpattern/include/txp_discuss.php +%%TEXTPATTERN%%/textpattern/include/txp_file.php +%%TEXTPATTERN%%/textpattern/include/txp_form.php +%%TEXTPATTERN%%/textpattern/include/txp_image.php +%%TEXTPATTERN%%/textpattern/include/txp_import.php +%%TEXTPATTERN%%/textpattern/include/txp_link.php +%%TEXTPATTERN%%/textpattern/include/txp_list.php +%%TEXTPATTERN%%/textpattern/include/txp_log.php +%%TEXTPATTERN%%/textpattern/include/txp_page.php +%%TEXTPATTERN%%/textpattern/include/txp_plugin.php +%%TEXTPATTERN%%/textpattern/include/txp_prefs.php +%%TEXTPATTERN%%/textpattern/include/txp_preview.php +%%TEXTPATTERN%%/textpattern/include/txp_section.php +%%TEXTPATTERN%%/textpattern/include/txp_tag.php +%%TEXTPATTERN%%/textpattern/index.php +%%TEXTPATTERN%%/textpattern/lang/README +%%TEXTPATTERN%%/textpattern/lang/en-gb.txt +%%TEXTPATTERN%%/textpattern/lib/IXRClass.php +%%TEXTPATTERN%%/textpattern/lib/admin_config.php +%%TEXTPATTERN%%/textpattern/lib/class.thumb.php +%%TEXTPATTERN%%/textpattern/lib/classTextile.php +%%TEXTPATTERN%%/textpattern/lib/i18n-ascii.txt +%%TEXTPATTERN%%/textpattern/lib/taglib.php +%%TEXTPATTERN%%/textpattern/lib/txplib_db.php +%%TEXTPATTERN%%/textpattern/lib/txplib_forms.php +%%TEXTPATTERN%%/textpattern/lib/txplib_head.php +%%TEXTPATTERN%%/textpattern/lib/txplib_html.php +%%TEXTPATTERN%%/textpattern/lib/txplib_misc.php +%%TEXTPATTERN%%/textpattern/lib/txplib_update.php +%%TEXTPATTERN%%/textpattern/license.txt +%%TEXTPATTERN%%/textpattern/publish.php +%%TEXTPATTERN%%/textpattern/publish/atom.php +%%TEXTPATTERN%%/textpattern/publish/comment.php +%%TEXTPATTERN%%/textpattern/publish/log.php +%%TEXTPATTERN%%/textpattern/publish/rss.php +%%TEXTPATTERN%%/textpattern/publish/search.php +%%TEXTPATTERN%%/textpattern/publish/taghandlers.php +%%TEXTPATTERN%%/textpattern/setup/en-gb.php +%%TEXTPATTERN%%/textpattern/setup/index.php +%%TEXTPATTERN%%/textpattern/setup/setup-langs.php +%%TEXTPATTERN%%/textpattern/setup/txpsql.php +%%TEXTPATTERN%%/textpattern/textpattern.css +%%TEXTPATTERN%%/textpattern/txp_img/button.gif +%%TEXTPATTERN%%/textpattern/txp_img/carver.gif +%%TEXTPATTERN%%/textpattern/txp_img/down.gif +%%TEXTPATTERN%%/textpattern/txp_img/down2.gif +%%TEXTPATTERN%%/textpattern/txp_img/header.gif +%%TEXTPATTERN%%/textpattern/txp_img/howto.gif +%%TEXTPATTERN%%/textpattern/txp_img/htmldown.gif +%%TEXTPATTERN%%/textpattern/txp_img/htmlup.gif +%%TEXTPATTERN%%/textpattern/txp_img/previewdown.gif +%%TEXTPATTERN%%/textpattern/txp_img/previewup.gif +%%TEXTPATTERN%%/textpattern/txp_img/reset_time.gif +%%TEXTPATTERN%%/textpattern/txp_img/tabs.gif +%%TEXTPATTERN%%/textpattern/txp_img/tabshadow.gif +%%TEXTPATTERN%%/textpattern/txp_img/textdown.gif +%%TEXTPATTERN%%/textpattern/txp_img/textpattern.gif +%%TEXTPATTERN%%/textpattern/txp_img/texttabshadow.gif +%%TEXTPATTERN%%/textpattern/txp_img/textup.gif +%%TEXTPATTERN%%/textpattern/txp_img/tplogoGreyer.gif +%%TEXTPATTERN%%/textpattern/txp_img/txp1_0.gif +%%TEXTPATTERN%%/textpattern/txp_img/txp_editorheader.gif +%%TEXTPATTERN%%/textpattern/txp_img/txp_slug105x45.gif +%%TEXTPATTERN%%/textpattern/txp_img/txp_slug105x70.gif +%%TEXTPATTERN%%/textpattern/txp_img/up.gif +%%TEXTPATTERN%%/textpattern/txp_img/up2.gif +%%TEXTPATTERN%%/textpattern/update/_to_1.0.0.php +%%TEXTPATTERN%%/textpattern/update/_to_4.0.2.php +%%TEXTPATTERN%%/textpattern/update/_update.php +%%TEXTPATTERN%%/textpattern/update/index.html +@dirrm %%TEXTPATTERN%%/textpattern/update +@dirrm %%TEXTPATTERN%%/textpattern/txp_img +@dirrm %%TEXTPATTERN%%/textpattern/tmp +@dirrm %%TEXTPATTERN%%/textpattern/setup +@dirrm %%TEXTPATTERN%%/textpattern/publish +@dirrm %%TEXTPATTERN%%/textpattern/lib +@dirrm %%TEXTPATTERN%%/textpattern/lang +@dirrm %%TEXTPATTERN%%/textpattern/include/import +@dirrm %%TEXTPATTERN%%/textpattern/include +@dirrm %%TEXTPATTERN%%/textpattern +@dirrm %%TEXTPATTERN%%/images +@dirrm %%TEXTPATTERN%%/files +@dirrm %%TEXTPATTERN%% |