1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/textproc/s5/Makefile
John Marino f858881db9 multimedia ... sysutils: Remove redundant dependency on unzip
A dependency on unzip will never be registered since unzip is available
on all supported platforms (since FreeBSD 8.0).
Note that it's pulled in by a non-default option.

Approved by:	infrastructure blanket (removal of redundant deps)
2016-08-04 04:36:54 +00:00

40 lines
1.1 KiB
Makefile

# Created by: Peter Pentchev <roam@FreeBSD.org>
# $FreeBSD$
PORTNAME= s5
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://meyerweb.com/eric/tools/s5/v/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple HTML-based presentation system
LICENSE= BSD2CLAUSE PD
LICENSE_COMB= multi
USES= dos2unix zip
DOS2UNIX_REGEX= .*\.(css|htc|html|js|txt)
WRKSRC= ${WRKDIR}
NO_BUILD= yes
NO_ARCH= yes
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
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_MAN} ${WRKDIR}/s5.1 ${STAGEDIR}${MANPREFIX}/man/man1/s5.1
.include <bsd.port.mk>