mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
043c73c23e
PR: ports/138353 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br> Approved by: Jonathan Weiss <jw@innerewut.de> (maintainer)
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# New ports collection makefile for: www/typo
|
|
# Date created: May 29th 2005
|
|
# Whom: Jonathan Weiss <jw@innerewut.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= typo
|
|
PORTVERSION= 5.3
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= jw@innerewut.de
|
|
COMMENT= An absolutely minimal weblogging engine powered by rails
|
|
|
|
RUN_DEPENDS= rails:${PORTSDIR}/www/rubygem-rails \
|
|
redcloth:${PORTSDIR}/www/rubygem-redcloth \
|
|
rails-app-installer-setup:${PORTSDIR}/www/rubygem-rails-app-installer
|
|
|
|
NO_BUILD= yes
|
|
|
|
TYPODIR= www/${DISTNAME}
|
|
|
|
do-install:
|
|
${CP} -R ${WRKSRC} ${PREFIX}/${TYPODIR}
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPODIR}/log
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPODIR}/public
|
|
${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPODIR}/tmp
|
|
|
|
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>
|