diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2003-08-28 19:56:31 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2003-08-28 19:56:31 +0000 |
commit | 3f009cb2157ee1d6253011e197fc4885198310ad (patch) | |
tree | efb1f2471e5bb8f24e7d6d215a19b195c489fd1c /devel/flyspray/Makefile | |
parent | - Fix typo in start/stop script (diff) |
Add flyspray 0.9.4,
a simple, easy-to-use web based bug tracking
system.
PR: 56082
Submitted by: Nick Hilliard <nick@foobar.org>
Notes
Notes:
svn path=/head/; revision=87924
Diffstat (limited to 'devel/flyspray/Makefile')
-rw-r--r-- | devel/flyspray/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/devel/flyspray/Makefile b/devel/flyspray/Makefile new file mode 100644 index 000000000000..1846ab90a327 --- /dev/null +++ b/devel/flyspray/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: flyspray +# Date created: 2003.08.28 +# Whom: Nick Hilliard <nick@foobar.org> +# +# $FreeBSD$ +# + +PORTNAME= flyspray +PORTVERSION= 0.9.4 +CATEGORIES= devel +MASTER_SITES= http://flyspray.rocks.cc/ + +MAINTAINER= nick@foobar.org +COMMENT= A simple, easy-to-use web based bug tracking system + +.if defined(WITH_APACHE2) +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4 +.else +RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 +.endif + +NO_BUILD= yes +FETCH_BEFORE_ARGS= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} + +DOC_FILES= AUTHORS BUGS CHANGELOG COPYING INSTALL README TODO UPGRADING flyspray-${PORTVERSION}.sql + +do-fetch: ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} + ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${MASTER_SITES}/?file=${DISTNAME}${EXTRACT_SUFX} + +do-install: + ${MKDIR} ${PREFIX}/share/${PORTNAME} + ${CHMOD} 755 ${PREFIX}/share/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/config.inc.php ${PREFIX}/share/${PORTNAME}/config.inc.php-dist + cd ${WRKSRC} && \ + tar cf - favicon.ico functions.inc.php functions.js header.php index.php lang scripts themes | \ + (cd ${PREFIX}/share/${PORTNAME} && tar -xf -) + ${LN} -s /var/db/${PORTNAME}/attachments ${PREFIX}/share/${PORTNAME}/attachments + ${MKDIR} /var/db/${PORTNAME}/attachments + ${CHMOD} 750 /var/db/${PORTNAME}/attachments + ${CHOWN} www:www /var/db/${PORTNAME}/attachments + +post-install: install-doc + @${CAT} ${PKGMESSAGE} + +install-doc: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> |