d6e6ea5bea
- While here, fix dead link Approved by: hat apache@
39 lines
866 B
Makefile
39 lines
866 B
Makefile
# 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>
|