summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-14 13:34:43 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-14 13:34:43 +0000
commita81f9b794f7a799b8541e33703f525cebb54a618 (patch)
tree5d1b8d1ba97e01ca46e4b3640f0a45c930102eff /textproc
parent1c79ab0d9bf56dc736e7d8d2bf00dd6657b20edf (diff)
downloadfreebsd-ports-a81f9b794f7a799b8541e33703f525cebb54a618.zip
- Add PD license along with BSD2CLAUSE. Different files mention either of them [1]
- Add NO_ARCH - Silence patching - Fix manpage installation PR: 204638 [1] Submitted by: george@nycbug.org
Diffstat (limited to 'textproc')
-rw-r--r--textproc/s5/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/textproc/s5/Makefile b/textproc/s5/Makefile
index 57792580b490..2f36cc421259 100644
--- a/textproc/s5/Makefile
+++ b/textproc/s5/Makefile
@@ -11,7 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple HTML-based presentation system
-LICENSE= BSD2CLAUSE
+LICENSE= BSD2CLAUSE PD
+LICENSE_COMB= multi
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
@@ -19,21 +20,22 @@ 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
+ @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} && \
+ @${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
+ ${INSTALL_MAN} ${WRKDIR}/s5.1 ${STAGEDIR}${MANPREFIX}/man/man1/s5.1
.include <bsd.port.mk>