1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

www/ephemera: Upgrade version 2.9 => 4.0

Also fix incorrect use of @sample keyword

PR:		192532
Submitted by:	maintainer (James Bailie)
This commit is contained in:
John Marino 2014-08-10 13:25:19 +00:00
parent de268c976d
commit ad3bf5196f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364537
5 changed files with 14 additions and 44 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= ephemera
PORTVERSION= 2.9
PORTREVISION= 1
PORTVERSION= 4.0
CATEGORIES= www
MASTER_SITES= http://www.mammothcheese.ca/
@ -12,4 +11,6 @@ COMMENT= Blog server
RUN_DEPENDS= munger:${PORTSDIR}/lang/munger
USE_SQLITE= 3
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ephemera-2.9.tar.gz) = 6fc71c9628f66dcd34a3c46f4d96246d1862b62c5f73289a0139d6b1c81b6223
SIZE (ephemera-2.9.tar.gz) = 27160
SHA256 (ephemera-4.0.tar.gz) = 628ccdb8e49f813670d91d1150a858a0c355c4d694ba907d2325614b3ae4f319
SIZE (ephemera-4.0.tar.gz) = 20298

View File

@ -1,31 +0,0 @@
--- Makefile.orig 2014-07-02 18:12:33.669901208 +0800
+++ Makefile 2014-07-02 18:13:37.501883432 +0800
@@ -52,18 +52,17 @@ ephemera.css.sample: ephemera.css
.PHONY: install
install: all
- ${INSTALL_SCRIPT} ephemera ${DEST}
+ ${INSTALL_SCRIPT} ephemera $(DESTDIR)${DEST}
${GZIP_CMD} ephemera.8
- ${INSTALL_MAN} ephemera.8.gz ${MANDIR}
- ${INSTALL_DATA} ephemera.css.sample ${ETCDIR}
- ${INSTALL_DATA} ephemera.config.dist ${ETCDIR}
- if [ ! -e ${ETCDIR}/ephemera.config ]; then ${INSTALL_DATA} ephemera.config ${ETCDIR}; fi
- ${INSTALL_SCRIPT} ephemera.rc ${ETCDIR}/rc.d/ephemera
- ${INSTALL_SCRIPT} ephemera-add ${DEST}
- ${INSTALL_SCRIPT} ephemera-replace ${DEST}
- ${INSTALL_SCRIPT} ephemera-extract ${DEST}
- ${INSTALL_SCRIPT} ephemera-delete ${DEST}
- ${INSTALL_SCRIPT} ephemera-generate ${DEST}
+ ${INSTALL_MAN} ephemera.8.gz $(DESTDIR)${MANDIR}
+ ${INSTALL_DATA} ephemera.css.sample $(DESTDIR)${ETCDIR}
+ ${INSTALL_DATA} ephemera.config.dist $(DESTDIR)${ETCDIR}/ephemera.config.sample
+ ${INSTALL_SCRIPT} ephemera.rc $(DESTDIR)${ETCDIR}/rc.d/ephemera
+ ${INSTALL_SCRIPT} ephemera-add $(DESTDIR)${DEST}
+ ${INSTALL_SCRIPT} ephemera-replace $(DESTDIR)${DEST}
+ ${INSTALL_SCRIPT} ephemera-extract $(DESTDIR)${DEST}
+ ${INSTALL_SCRIPT} ephemera-delete $(DESTDIR)${DEST}
+ ${INSTALL_SCRIPT} ephemera-generate $(DESTDIR)${DEST}
.PHONY: deinstall
deinstall:

View File

@ -1,5 +1,5 @@
Ephemera is an SCGI application server dedicated to serving-up a single
blog, implemented in 1000 lines of Munger(1). Ephemera creates the
simplest blog that is still useful, in its author's estimation.
blog. Ephemera creates the simplest blog that is still useful in its
author's estimation.
WWW: http://www.mammothcheese.ca/

View File

@ -1,10 +1,10 @@
bin/ephemera
bin/ephemera-add
bin/ephemera-delete
bin/ephemera-extract
bin/ephemera-replace
bin/ephemera-generate
etc/ephemera.css.sample
bin/add.munger
bin/delete.munger
bin/extract.munger
bin/replace.munger
etc/ephemera.css
etc/ephemera.config
etc/rc.d/ephemera
@sample etc/ephemera.config.sample
man/man8/ephemera.8.gz
@unexec if cmp -s %D/etc/ephemera.config %D/etc/ephemera.config.dist; then rm -f %D/etc/ephemera.config; fi