diff options
author | taca <taca@pkgsrc.org> | 2008-09-15 10:06:41 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2008-09-15 10:06:41 +0000 |
commit | c1747ceb376779e0cdcb493c6747d9d86380f939 (patch) | |
tree | 283b8d39f0739b8b477217671b8c93849c055b1e /www/typolight-example | |
parent | 00eeb161814dfc6110ad440f388a8d6dbb48939e (diff) | |
download | pkgsrc-c1747ceb376779e0cdcb493c6747d9d86380f939.tar.gz |
Importing www/typolight-example package.
This is example site data of TYPOlight webCMS.
Diffstat (limited to 'www/typolight-example')
-rw-r--r-- | www/typolight-example/DEINSTALL | 11 | ||||
-rw-r--r-- | www/typolight-example/DESCR | 1 | ||||
-rw-r--r-- | www/typolight-example/INSTALL | 21 | ||||
-rw-r--r-- | www/typolight-example/Makefile | 37 | ||||
-rw-r--r-- | www/typolight-example/PLIST | 21 | ||||
-rw-r--r-- | www/typolight-example/distinfo | 5 |
6 files changed, 96 insertions, 0 deletions
diff --git a/www/typolight-example/DEINSTALL b/www/typolight-example/DEINSTALL new file mode 100644 index 00000000000..5d9dce4317b --- /dev/null +++ b/www/typolight-example/DEINSTALL @@ -0,0 +1,11 @@ +#!@SH@ +# +# $NetBSD: DEINSTALL,v 1.1.1.1 2008/09/15 10:06:41 taca Exp $ + +TL_WEBDIR="@PREFIX@/@TL_WEBDIR@" +TL_DATA="music_academy.css tl_files/music_academy" + +case "${STAGE}" in +DEINSTALL) + cd ${TL_WEBDIR} && ${RM} -rf ${TL_DATA} +esac diff --git a/www/typolight-example/DESCR b/www/typolight-example/DESCR new file mode 100644 index 00000000000..d461d52af16 --- /dev/null +++ b/www/typolight-example/DESCR @@ -0,0 +1 @@ +This is example site data of TYPOlight webCMS. diff --git a/www/typolight-example/INSTALL b/www/typolight-example/INSTALL new file mode 100644 index 00000000000..ae23275029a --- /dev/null +++ b/www/typolight-example/INSTALL @@ -0,0 +1,21 @@ +#!@SH@ +# +# $NetBSD: INSTALL,v 1.1.1.1 2008/09/15 10:06:41 taca Exp $ + +PAX="@PAX@" +TL_EGDIR="@PREFIX@/@TL_EGDIR@" +TL_WEBDIR="@PREFIX@/@TL_WEBDIR@" +WWWGRP="@WWWGRP@" +WWWOWN="@WWWOWN@" +TL_DATA="music_academy.css tl_files/music_academy" + +case "${STAGE}" in +POST-INSTALL) + cd ${TL_EGDIR} && + @PAX@ -rw ${TL_DATA} ${TL_WEBDIR} + for f in ${TL_DATA}; do + ${CHGRP} -R ${WWWGRP} ${TL_WEBDIR}/$f + ${CHOWN} -R ${WWWOWN} ${TL_WEBDIR}/$f + done + ;; +esac diff --git a/www/typolight-example/Makefile b/www/typolight-example/Makefile new file mode 100644 index 00000000000..9878ee3736d --- /dev/null +++ b/www/typolight-example/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/09/15 10:06:41 taca Exp $ +# + +DISTNAME= typolight-${TL_VERSION} +PKGNAME= typolight-example-${TL_VERSION} +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/} + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://www.typolight.org/ +COMMENT= Sample site data for TYPOlight + +DEPENDS+= typolight>=${TL_VERSION}:../../www/typolight + +USE_TOOLS= pax +NO_BUILD= yes +NO_CONFIGURE= yes + +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 + +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 + +.include "../../www/typolight/Makefile.common" +.include "../../lang/php/phpversion.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/typolight-example/PLIST b/www/typolight-example/PLIST new file mode 100644 index 00000000000..e8c978a0828 --- /dev/null +++ b/www/typolight-example/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/09/15 10:06:41 taca Exp $ +${TL_EGDIR}/music_academy.css +${TL_EGDIR}/tl_files/music_academy/admin.gif +${TL_EGDIR}/tl_files/music_academy/background.gif +${TL_EGDIR}/tl_files/music_academy/frontendmodules.gif +${TL_EGDIR}/tl_files/music_academy/image.png +${TL_EGDIR}/tl_files/music_academy/james-wilson.jpg +${TL_EGDIR}/tl_files/music_academy/layout.gif +${TL_EGDIR}/tl_files/music_academy/modules.gif +${TL_EGDIR}/tl_files/music_academy/news.gif +${TL_EGDIR}/tl_files/music_academy/pagemounts.gif +${TL_EGDIR}/tl_files/music_academy/permissions.gif +${TL_EGDIR}/tl_files/music_academy/protect.gif +${TL_EGDIR}/tl_files/music_academy/campus/campus_building.jpg +${TL_EGDIR}/tl_files/music_academy/campus/campus_hall.jpg +${TL_EGDIR}/tl_files/music_academy/campus/campus_library.jpg +${TL_EGDIR}/tl_files/music_academy/campus/campus_overview.jpg +${TL_EGDIR}/tl_files/music_academy/campus/meta.txt +${TL_WEBDIR}/templates/example_website.sql +@dirrm ${TL_EGDIR}/tl_files/music_academy/campus +@dirrm ${TL_EGDIR}/tl_files/music_academy diff --git a/www/typolight-example/distinfo b/www/typolight-example/distinfo new file mode 100644 index 00000000000..d0c4881caae --- /dev/null +++ b/www/typolight-example/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/09/15 10:06:41 taca Exp $ + +SHA1 (typolight-2.6.0.tar.gz) = 74750399cfbc38d952d1ae34fd537b570cd5ae76 +RMD160 (typolight-2.6.0.tar.gz) = 88cfef656590cfdc46043f32060e60db430cd2b0 +Size (typolight-2.6.0.tar.gz) = 2806082 bytes |