aboutsummaryrefslogblamecommitdiff
path: root/deskutils/surrealtodo/Makefile
blob: ef0e77a2ffa85ec0dd82ba1475bcd709339bd03c (plain) (tree)
1
2
3
4
5
6
7
8
9
                                    
           

                           
                       
                 

                                              
                                           
 
                                 

                                                                    
                   

                          
                   

                   




                                                 
                                                   
 


                                      
 


                                             

           

                                                                              

                      
# Created by: jamrich.majo@gmail.com
# $FreeBSD$

PORTNAME=	surrealtodo
PORTVERSION=	0.6.1.2
PORTREVISION=	1
CATEGORIES=	deskutils
MASTER_SITES=	SF/surrealtodo/Surreal%20ToDo/
DISTNAME=	surrealtodo_v${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Surreal ToDo is an AJAX enabled web 2.0 list manager

USES=		zip
USE_PHP=	mysql
IGNORE_WITH_PHP=	70
NO_BUILD=	yes
NO_ARCH=	yes

WWWOWN=		www
WWWGRP=		${WWWOWN}

PKGMESSAGE=	${WRKDIR}/${PORTNAME}/pkg-message
SUB_FILES=	pkg-message
PLIST_SUB=	OWNER="${WWWOWN}" GROUP="${WWWGRP}"

OPTIONS_DEFINE=	PGSQL APACHE LIGHTTPD
OPTIONS_DEFAULT=	APACHE
LIGHTTPD_DESC=	Use Lighttpd webserver

PGSQL_USE=	PHP=pgsql
APACHE_USE=	APACHE_RUN=22
LIGHTTPD_RUN_DEPENDS=	lighttpd:www/lighttpd

do-install:
	@${MKDIR} ${STAGEDIR}${WWWDIR}
	@${CP} -r ${WRKDIR}/${PORTNAME}_v${PORTVERSION}/* ${STAGEDIR}${WWWDIR}

.include <bsd.port.mk>