1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/www/blogsum/Makefile
Martin Wilke 4cec7f4be5 - Stage support
PR:		190016
Submitted by:	Joseph Benden <joe@thrallingpenguin.com>
Approved by:	maintainer
2014-05-25 05:25:04 +00:00

48 lines
1.2 KiB
Makefile

# Created by: jhuldtgren
# $FreeBSD$
PORTNAME= blogsum
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.dixongroup.net/
MAINTAINER= jhuldtgren@gmail.com
COMMENT= Simple weblog
RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-DBD-SQLite>=0:${PORTSDIR}/databases/p5-DBD-SQLite \
p5-XML-RSS>=0:${PORTSDIR}/textproc/p5-XML-RSS \
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template \
p5-HTTP-Lite>=0:${PORTSDIR}/www/p5-HTTP-Lite \
${APACHE_PKGNAMEPREFIX}mod_perl2>=0:${PORTSDIR}/www/mod_perl2
USES= perl5
NO_BUILD= yes
USE_PERL5= run
USE_APACHE_RUN= 22+
.include <bsd.port.pre.mk>
SUB_FILES= pkg-message
SUB_LIST+= APACHEETCDIR=${APACHEETCDIR} APACHEMODDIR=${APACHEMODDIR} WWWOWN=${WWWOWN}
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "You may set following options:"
@${ECHO_MSG} ""
@${ECHO_MSG} "WWWDIR=${WWWDIR} Where do you put httpd's document root?"
@${ECHO_MSG} ""
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}/
@ cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
post-install:
@${ECHO_MSG} ""
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
.include <bsd.port.post.mk>