mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
USE_DOS2UNIX for the s5-blank template and other files. To make this work
with the somewhat weird s5-blank.zip rebuild process, move the "build" actions to post-extract, as per the PR. PR: 96306 Submitted by: delphij
This commit is contained in:
parent
95bfaae04c
commit
1fe1a6db76
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167785
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= s5
|
||||
PORTVERSION= 1.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.meyerweb.com/eric/tools/s5/v/${PORTVERSION}/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
|
||||
@ -16,13 +17,15 @@ COMMENT= A simple HTML-based presentation system
|
||||
|
||||
BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
|
||||
|
||||
USE_DOS2UNIX= yes
|
||||
USE_ZIP= yes
|
||||
WRKSRC= ${WRKDIR}
|
||||
NO_BUILD= yes
|
||||
|
||||
S5_DIR= ${PREFIX}/share/${PORTNAME}
|
||||
S5_SUBDIRS= pix primer s5-blank ui
|
||||
|
||||
do-build:
|
||||
post-extract:
|
||||
cd ${WRKSRC} && ${UNZIP_CMD} s5-blank.zip
|
||||
${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5-blank.sh > ${WRKDIR}/s5-blank.sh
|
||||
${FIND} ${WRKDIR} -type f -name .DS_Store -delete
|
||||
|
Loading…
Reference in New Issue
Block a user