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

- Add LICENSE

- Remove Author line
- Use single space after WWW:
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-06-03 17:07:37 +00:00
parent 3c0e9975cf
commit cdd9e27439
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356380
2 changed files with 12 additions and 11 deletions

View File

@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple HTML-based presentation system
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
USES= dos2unix zip
@ -22,16 +24,16 @@ S5_DIR= ${PREFIX}/share/${PORTNAME}
S5_SUBDIRS= pix primer s5-blank ui
post-extract:
cd ${WRKSRC} && ${TAR} -xf s5-blank.zip
${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5.sh > ${WRKDIR}/s5
${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5.1 > ${WRKDIR}/s5.1
${FIND} ${WRKDIR} -type f -name .DS_Store -delete
cd ${WRKSRC} && ${TAR} -xf s5-blank.zip
${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5.sh > ${WRKDIR}/s5
${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5.1 > ${WRKDIR}/s5.1
${FIND} ${WRKDIR} -type f -name .DS_Store -delete
do-install:
${MKDIR} ${STAGEDIR}${S5_DIR}
(cd ${WRKDIR} && \
${COPYTREE_SHARE} "*.html ${S5_SUBDIRS}" ${STAGEDIR}${S5_DIR})
${INSTALL_SCRIPT} ${WRKDIR}/s5 ${STAGEDIR}${PREFIX}/bin/s5
${INSTALL_DATA} ${WRKDIR}/s5.1 ${STAGEDIR}${PREFIX}/man/man1/s5.1
${MKDIR} ${STAGEDIR}${S5_DIR}
(cd ${WRKDIR} && \
${COPYTREE_SHARE} "*.html ${S5_SUBDIRS}" ${STAGEDIR}${S5_DIR})
${INSTALL_SCRIPT} ${WRKDIR}/s5 ${STAGEDIR}${PREFIX}/bin/s5
${INSTALL_DATA} ${WRKDIR}/s5.1 ${STAGEDIR}${PREFIX}/man/man1/s5.1
.include <bsd.port.mk>

View File

@ -6,5 +6,4 @@ What Is S5?
* JavaScript handles the dynamic aspects of the show
* That's all there is to it!
Author: Eric Meyer <eric@meyerweb.com>
WWW: http://www.meyerweb.com/eric/tools/s5/
WWW: http://www.meyerweb.com/eric/tools/s5/