mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Add serendipity 0.9.1, PHP based weblog software.
PR: ports/90342 Submitted by: babak@farrokhi.net
This commit is contained in:
parent
fc676b7e9e
commit
8d65d13b14
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=151173
@ -800,6 +800,7 @@
|
||||
SUBDIR += script4rss
|
||||
SUBDIR += seamonkey
|
||||
SUBDIR += selenium
|
||||
SUBDIR += serendipity
|
||||
SUBDIR += servlet-api
|
||||
SUBDIR += session2
|
||||
SUBDIR += shttpd
|
||||
|
62
www/serendipity-devel/Makefile
Normal file
62
www/serendipity-devel/Makefile
Normal file
@ -0,0 +1,62 @@
|
||||
# New ports collection makefile for: serendipity
|
||||
# Date created: 2005-DEC-13
|
||||
# Whom: babak@farrokhi.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= serendipity
|
||||
PORTVERSION= 0.9.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= php-blog
|
||||
|
||||
MAINTAINER= babak@farrokhi.net
|
||||
COMMENT= PHP based weblog software
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= YES
|
||||
SERENDIPITY?= www/${PORTNAME}
|
||||
PLIST_SUB+= SERENDIPITY=${SERENDIPITY}
|
||||
USE_PHP= session pcre gd openssl mbstring iconv zlib
|
||||
SUB_LIST+= SERENDIPITY=${SERENDIPITY}
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS= MYSQL "Use MySQL backend" on \
|
||||
PGSQL "Use PostgreSQL backend" off \
|
||||
SQLITE "Use SQLite backend (PHP5)" off \
|
||||
MAGICK "Use ImageMagick Library" on
|
||||
|
||||
PORT_DBDIR?= /var/db/ports
|
||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
|
||||
|
||||
.if exists(${OPTIONSFILE})
|
||||
.include "${OPTIONSFILE}"
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
USE_PHP+= mysql
|
||||
. endif
|
||||
|
||||
.if defined(WITH_PGSQL)
|
||||
USE_PHP+= pgsql
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
USE_PHP+= sqlite
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MAGICK)
|
||||
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${PREFIX}/${SERENDIPITY}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${SERENDIPITY}
|
||||
@(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${SERENDIPITY}/ )
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/serendipity-devel/distinfo
Normal file
3
www/serendipity-devel/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (serendipity-0.9.1.tar.gz) = a8e72046a5c0f1551964af04d7f7e9b8
|
||||
SHA256 (serendipity-0.9.1.tar.gz) = 0a794f3a9b75292866e459f0fdc982584c2f415ae29396f7428f026ef111736d
|
||||
SIZE (serendipity-0.9.1.tar.gz) = 2526069
|
22
www/serendipity-devel/files/pkg-message.in
Normal file
22
www/serendipity-devel/files/pkg-message.in
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
===============================================================
|
||||
|
||||
Serendipity installed in %%PREFIX%%/%%SERENDIPITY%%
|
||||
|
||||
If this is your first install:
|
||||
|
||||
1- Create an empty database
|
||||
2- Add an alias for Serendipity directory in httpd.conf
|
||||
or you can create a symlink to Serendipity directory
|
||||
in your web root directory.
|
||||
3- Point your browser to your webserver and follow the
|
||||
installation wizard
|
||||
|
||||
If you are upgrading an existing installation:
|
||||
|
||||
1- Read %%PREFIX%%/%%SERENDIPITY%%/docs/UPGRADE
|
||||
2- Serendipity web based installation wizard will take care
|
||||
of the upgrade procedure
|
||||
|
||||
===============================================================
|
||||
|
7
www/serendipity-devel/pkg-descr
Normal file
7
www/serendipity-devel/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Serendipity is a weblog/blog system, implemented with PHP.
|
||||
It is standards compliant, feature rich and open source (BSD License).
|
||||
|
||||
WWW: http://www.s9y.org/
|
||||
|
||||
- Babak Farrokhi
|
||||
babak@farrokhi.net
|
1557
www/serendipity-devel/pkg-plist
Normal file
1557
www/serendipity-devel/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
62
www/serendipity/Makefile
Normal file
62
www/serendipity/Makefile
Normal file
@ -0,0 +1,62 @@
|
||||
# New ports collection makefile for: serendipity
|
||||
# Date created: 2005-DEC-13
|
||||
# Whom: babak@farrokhi.net
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= serendipity
|
||||
PORTVERSION= 0.9.1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= php-blog
|
||||
|
||||
MAINTAINER= babak@farrokhi.net
|
||||
COMMENT= PHP based weblog software
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
NO_BUILD= YES
|
||||
SERENDIPITY?= www/${PORTNAME}
|
||||
PLIST_SUB+= SERENDIPITY=${SERENDIPITY}
|
||||
USE_PHP= session pcre gd openssl mbstring iconv zlib
|
||||
SUB_LIST+= SERENDIPITY=${SERENDIPITY}
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
OPTIONS= MYSQL "Use MySQL backend" on \
|
||||
PGSQL "Use PostgreSQL backend" off \
|
||||
SQLITE "Use SQLite backend (PHP5)" off \
|
||||
MAGICK "Use ImageMagick Library" on
|
||||
|
||||
PORT_DBDIR?= /var/db/ports
|
||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
|
||||
|
||||
.if exists(${OPTIONSFILE})
|
||||
.include "${OPTIONSFILE}"
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MYSQL)
|
||||
USE_PHP+= mysql
|
||||
. endif
|
||||
|
||||
.if defined(WITH_PGSQL)
|
||||
USE_PHP+= pgsql
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
USE_PHP+= sqlite
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_MAGICK)
|
||||
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${PREFIX}/${SERENDIPITY}
|
||||
@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${SERENDIPITY}
|
||||
@(cd ${WRKSRC} && ${CP} -R * ${PREFIX}/${SERENDIPITY}/ )
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/serendipity/distinfo
Normal file
3
www/serendipity/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (serendipity-0.9.1.tar.gz) = a8e72046a5c0f1551964af04d7f7e9b8
|
||||
SHA256 (serendipity-0.9.1.tar.gz) = 0a794f3a9b75292866e459f0fdc982584c2f415ae29396f7428f026ef111736d
|
||||
SIZE (serendipity-0.9.1.tar.gz) = 2526069
|
22
www/serendipity/files/pkg-message.in
Normal file
22
www/serendipity/files/pkg-message.in
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
===============================================================
|
||||
|
||||
Serendipity installed in %%PREFIX%%/%%SERENDIPITY%%
|
||||
|
||||
If this is your first install:
|
||||
|
||||
1- Create an empty database
|
||||
2- Add an alias for Serendipity directory in httpd.conf
|
||||
or you can create a symlink to Serendipity directory
|
||||
in your web root directory.
|
||||
3- Point your browser to your webserver and follow the
|
||||
installation wizard
|
||||
|
||||
If you are upgrading an existing installation:
|
||||
|
||||
1- Read %%PREFIX%%/%%SERENDIPITY%%/docs/UPGRADE
|
||||
2- Serendipity web based installation wizard will take care
|
||||
of the upgrade procedure
|
||||
|
||||
===============================================================
|
||||
|
7
www/serendipity/pkg-descr
Normal file
7
www/serendipity/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Serendipity is a weblog/blog system, implemented with PHP.
|
||||
It is standards compliant, feature rich and open source (BSD License).
|
||||
|
||||
WWW: http://www.s9y.org/
|
||||
|
||||
- Babak Farrokhi
|
||||
babak@farrokhi.net
|
1557
www/serendipity/pkg-plist
Normal file
1557
www/serendipity/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user