1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

textproc/s5: Use SUB_FILES too

This commit is contained in:
Tobias Kortkamp 2019-02-02 08:04:11 +00:00
parent 7a3ec2d66d
commit 54a81872bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491921
3 changed files with 5 additions and 5 deletions

View File

@ -21,13 +21,13 @@ NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
SUB_FILES= s5 s5.1
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} ${WRKSRC} -type f -name .DS_Store -delete
do-install:

View File

@ -72,7 +72,7 @@ Display a short help text and exit.
No-operation mode; just display the commands without executing them.
.It Fl T Ar template
Specify the template directory instead of the default
.Pa /usr/local/share/s5/s5-blank
.Pa %%PREFIX%%/share/s5/s5-blank
.It Fl v
Verbose operation; display diagnostic information.
.El

View File

@ -26,7 +26,7 @@
set -e
LOCALBASE='/usr/local'
LOCALBASE='%%PREFIX%%'
S5_DIR="${LOCALBASE}/share/s5"
S5_TEMPLATE="${S5_DIR}/s5-blank"
NOOP=''
@ -217,7 +217,7 @@ Usage: s5 [-hNv] [-T template] command [args...]
The available command-line options are:
-h display this help message and exit
-N no-op mode, just display the commands without executing them
-T template directory, default /usr/local/share/s5/s5-blank
-T template directory, default %%PREFIX%%/share/s5/s5-blank
-v verbose operation, display diagnostic information
The available commands are: