diff options
author | krion <krion@FreeBSD.org> | 2004-05-25 15:26:40 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-05-25 15:26:40 +0800 |
commit | 83d776807c29afdc5466973fc5f51163c938ff1f (patch) | |
tree | 87bfb32b278deb8be424ea493712d9fcde2238f7 /www/wiliki | |
parent | 3ee07d5ef69db1076e39389082554e6964016c5d (diff) | |
download | freebsd-ports-gnome-83d776807c29afdc5466973fc5f51163c938ff1f.tar.gz freebsd-ports-gnome-83d776807c29afdc5466973fc5f51163c938ff1f.tar.zst freebsd-ports-gnome-83d776807c29afdc5466973fc5f51163c938ff1f.zip |
- Update to version 0.5
PR: ports/67161
Submitted by: maintainer
Diffstat (limited to 'www/wiliki')
-rw-r--r-- | www/wiliki/Makefile | 32 | ||||
-rw-r--r-- | www/wiliki/distinfo | 4 | ||||
-rw-r--r-- | www/wiliki/pkg-plist | 9 |
3 files changed, 26 insertions, 19 deletions
diff --git a/www/wiliki/Makefile b/www/wiliki/Makefile index 2ca741390255..90eac25f06a9 100644 --- a/www/wiliki/Makefile +++ b/www/wiliki/Makefile @@ -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> diff --git a/www/wiliki/distinfo b/www/wiliki/distinfo index 8912891b2b0d..56bf8e0e9d4e 100644 --- a/www/wiliki/distinfo +++ b/www/wiliki/distinfo @@ -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 diff --git a/www/wiliki/pkg-plist b/www/wiliki/pkg-plist index 22902f51dc39..86377a290bae 100644 --- a/www/wiliki/pkg-plist +++ b/www/wiliki/pkg-plist @@ -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 |