aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2006-07-14 19:54:50 +0800
committerroam <roam@FreeBSD.org>2006-07-14 19:54:50 +0800
commitc223e546ee3d449bfa6a4991884b7b52a9ea7b41 (patch)
tree9dce9ecaa80aa117014c6a78e80f68de3ac60224 /textproc
parent56f7a97378d7bc73696489287468cdae2cd0ed79 (diff)
downloadfreebsd-ports-gnome-c223e546ee3d449bfa6a4991884b7b52a9ea7b41.tar.gz
freebsd-ports-gnome-c223e546ee3d449bfa6a4991884b7b52a9ea7b41.tar.zst
freebsd-ports-gnome-c223e546ee3d449bfa6a4991884b7b52a9ea7b41.zip
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/s5/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/s5/Makefile b/textproc/s5/Makefile
index 5888f9c084d1..5070e9904b06 100644
--- a/textproc/s5/Makefile
+++ b/textproc/s5/Makefile
@@ -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