# New ports collection makefile for: sb
# Date created: 2 Aug 2004
# Whom: <info@otsune.com>
#
# $FreeBSD$
#
PORTNAME= sb
PORTVERSION= 100
CATEGORIES= www
MASTER_SITE= http://serennz.cool.ne.jp/sblog/util/download.cgi/
DISTNAME= ${PORTNAME}${PORTVERSION}R
MAINTAINER= info@otsune.com
COMMENT= An integration web log management system written in Perl
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \
${SITE_PERL}/XML/Parser/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite
WRKSRC= ${WRKDIR}/${PORTNAME}
DATADIR= ${PREFIX}/www/${PORTNAME}
FETCH_CMD= /usr/bin/fetch
NO_BUILD= yes
USE_PERL5_RUN= yes
NO_PACKAGE= "Redistribution is restricted."
RESTRICTED= "license required for commercial use"
MYPORTDOCS= history.txt readme.txt doc/background.gif doc/ja.html \
doc/print.css doc/style.css doc/title.gif
OPTIONS= IMAGEMAGICK "Enable Thumbnail support " Off
.include <bsd.port.pre.mk>
.if defined(WITH_IMAGEMAGICK)
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Image/Magick.pm:${PORTSDIR}/graphics/ImageMagick
.endif
post-patch:
.for f in admin.cgi cnt.cgi sb.cgi
@${PERL} -pi -e "s|/usr/bin/perl|${PERL}|g" ${WRKSRC}/${f}
.endfor
do-install:
@${MKDIR} ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/${PORTNAME}
.for FILE in ${MYPORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
.endfor
.endif
.include <bsd.port.post.mk>
2004年09月02日(木) [長年日記]
[unix] sbのportsスケルトンのメモ
sb_
用に。まだ書きかけ。
Permalink: http://www.otsune.com/diary/2004/09/02/4.html#200409024
trackback

View blog reactions
Last Updated 2004-09-02 00:00:00 By
trackback
Last Updated 2004-09-02 00:00:00 By



[ コメントする ]