mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update to version 0.5
PR: ports/67161 Submitted by: maintainer
This commit is contained in:
parent
b8eaf146b8
commit
fdb6e56ca9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109937
@ -6,14 +6,14 @@
|
||||
#
|
||||
|
||||
PORTNAME= wiliki
|
||||
PORTVERSION= 0.4p1
|
||||
PORTVERSION= 0.5
|
||||
CATEGORIES= www scheme
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
DISTNAME= WiLiKi-${PORTVERSION}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= fuyuki@nigredo.org
|
||||
MAINTAINER= fuyuki@hadaly.org
|
||||
COMMENT= A lightweight Wiki engine written in Scheme
|
||||
|
||||
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
|
||||
@ -24,33 +24,35 @@ GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha"
|
||||
.if ${ARCH} == "alpha"
|
||||
BROKEN= "Does not build"
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/bin/gauche-config)
|
||||
GAUCHE_VER!= gauche-config -V
|
||||
GAUCHE_VER!= ${LOCALBASE}/bin/gauche-config -V
|
||||
.else
|
||||
GAUCHE_VER= none
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's,/usr/bin,${PREFIX}/bin,' \
|
||||
${REINPLACE_CMD} -E \
|
||||
-e 's,/usr/bin,${PREFIX}/bin,' \
|
||||
-e 's,/home/shiro/data/wikidata.dbm,/var/wiliki/data.dbm,' \
|
||||
-e 's/"wiliki-sample.css"/#f/' \
|
||||
-e "s/:language 'jp/:language 'en/" ${WRKSRC}/src/wiliki.cgi
|
||||
|
||||
pre-install:
|
||||
${MKDIR} `gauche-config --sitelibdir`
|
||||
-e 's,wiliki2?\.css,/&,' \
|
||||
-e "s/:language 'jp/:language 'en/" ${WRKSRC}/src/*.cgi
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/www/cgi-bin
|
||||
${INSTALL_DATA} ${WRKSRC}/src/wiliki.cgi \
|
||||
${PREFIX}/www/cgi-bin/wiliki.cgi.dist
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/wiliki-sample.css ${EXAMPLESDIR}
|
||||
.for f in wiliki.cgi wiliki2.cgi
|
||||
${INSTALL_DATA} ${WRKSRC}/src/${f} ${PREFIX}/www/cgi-bin/${f}.dist
|
||||
.endfor
|
||||
${MKDIR} ${PREFIX}/www/data
|
||||
${INSTALL_DATA} ${WRKSRC}/src/*.css ${PREFIX}/www/data
|
||||
${MKDIR} /var/wiliki
|
||||
${CHOWN} www:www /var/wiliki
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
test:
|
||||
cd ${WRKSRC}; ${MAKE} check
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (WiLiKi-0.4p1.tgz) = 23b4910077d471a7f2e544ea4c723d25
|
||||
SIZE (WiLiKi-0.4p1.tgz) = 83208
|
||||
MD5 (WiLiKi-0.5.tgz) = 0eee968cb23bad3c1d533c3b65f11763
|
||||
SIZE (WiLiKi-0.5.tgz) = 105489
|
||||
|
@ -1,5 +1,9 @@
|
||||
www/cgi-bin/wiliki.cgi.dist
|
||||
www/cgi-bin/wiliki2.cgi.dist
|
||||
@unexec rmdir %D/www/cgi-bin 2>/dev/null || true
|
||||
www/data/wiliki.css
|
||||
www/data/wiliki2.css
|
||||
@unexec rmdir %D/www/data 2>/dev/null || true
|
||||
share/gauche/site/lib/wiliki.scm
|
||||
share/gauche/site/lib/wiliki/db.scm
|
||||
share/gauche/site/lib/wiliki/edit.scm
|
||||
@ -11,8 +15,9 @@ share/gauche/site/lib/wiliki/mcatalog.scm
|
||||
share/gauche/site/lib/wiliki/msgs.jp
|
||||
share/gauche/site/lib/wiliki/pasttime.scm
|
||||
share/gauche/site/lib/wiliki/rss.scm
|
||||
share/gauche/site/lib/wiliki/rssmix.scm
|
||||
share/gauche/site/lib/wiliki/util.scm
|
||||
share/gauche/site/lib/wiliki/version.scm
|
||||
@dirrm share/gauche/site/lib/wiliki
|
||||
%%EXAMPLESDIR%%/wiliki-sample.css
|
||||
@dirrm %%EXAMPLESDIR%%
|
||||
@exec mkdir -p /var/wiliki
|
||||
@exec chown www:www /var/wiliki
|
||||
|
Loading…
Reference in New Issue
Block a user