2005-07-20 14:15:41 +00:00
|
|
|
# New ports collection makefile for: www/typo
|
|
|
|
# Date created: May 29th 2005
|
2005-07-20 23:27:18 +00:00
|
|
|
# Whom: Jonathan Weiss <jw@innerewut.de>
|
2005-07-20 14:15:41 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= typo
|
2006-08-28 05:55:02 +00:00
|
|
|
PORTVERSION= 4.0.3
|
2005-07-20 14:15:41 +00:00
|
|
|
CATEGORIES= www
|
2006-08-08 11:35:27 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-10-16 17:03:57 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2005-07-20 14:15:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= jw@innerewut.de
|
|
|
|
COMMENT= An absolutely minimal weblogging engine powered by rails
|
|
|
|
|
|
|
|
RUN_DEPENDS= rails:${PORTSDIR}/www/rubygem-rails \
|
|
|
|
${LOCALBASE}/lib/ruby/gems/1.8/specifications/RedCloth-3.0.3.gemspec:${PORTSDIR}/www/rubygem-redcloth
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
TYPODIR= www/${DISTNAME}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${CP} -R ${WRKSRC} ${PREFIX}/${TYPODIR}
|
2005-12-16 10:38:52 +00:00
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPODIR}/log
|
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPODIR}/public
|
2006-11-13 10:15:23 +00:00
|
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPODIR}/tmp
|
2005-07-20 14:15:41 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${FIND} ${PREFIX}/${TYPODIR} -not -type d \
|
|
|
|
| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
|
|
|
|
@${FIND} -d ${PREFIX}/${TYPODIR} -type d \
|
|
|
|
| ${SED} -ne 's,^${PREFIX}/${TYPODIR},@dirrm ${TYPODIR},p' >> ${TMPPLIST}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|