2010-11-11 07:35:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2010/11/11 12:35:14 sthen Exp $
|
2005-01-04 03:31:05 -05:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= powerful and flexible web calendar
|
2005-01-04 03:31:05 -05:00
|
|
|
|
2005-01-13 23:57:05 -05:00
|
|
|
V= 6.5.4
|
2005-01-04 03:31:05 -05:00
|
|
|
DISTNAME= plans_${V}
|
2010-11-11 07:35:09 -05:00
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
|
|
REVISION= 0
|
2005-01-04 03:31:05 -05:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.planscalendar.com/
|
|
|
|
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM=Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/release/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
PREFIX= /var/www
|
|
|
|
INSTDIR= ${PREFIX}/cgi-bin
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${INSTDIR}/plans
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/htdocs/plans
|
2006-11-15 01:42:16 -05:00
|
|
|
cd ${WRKSRC} && mv plans_config.pl plans_config-dist.pl
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi ${INSTDIR}/plans
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.pl ${INSTDIR}/plans
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.xml ${INSTDIR}/plans
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.txt ${INSTDIR}/plans
|
|
|
|
cp -Rp ${WRKSRC}/theme ${PREFIX}/htdocs/plans
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/htdocs/plans/theme
|
2005-01-04 03:31:05 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|