diff options
author | roam <roam@FreeBSD.org> | 2005-11-01 08:16:47 +0800 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2005-11-01 08:16:47 +0800 |
commit | de802c37fe89fadf9ff6d801e3c48e50fa4cd32a (patch) | |
tree | c754db83320bff5d497c667b9c18e12602ec5595 /textproc/s5 | |
parent | 2544982413de96ab84542f4dd54d71fd97dcf607 (diff) | |
download | freebsd-ports-gnome-de802c37fe89fadf9ff6d801e3c48e50fa4cd32a.tar.gz freebsd-ports-gnome-de802c37fe89fadf9ff6d801e3c48e50fa4cd32a.tar.zst freebsd-ports-gnome-de802c37fe89fadf9ff6d801e3c48e50fa4cd32a.zip |
Explicitly specify unzip as a build dependency, do not just hope it will
be left over from the extract stage. [1]
Clean up the build/install interaction - remove a slew of files at
the build stage, do not modify the work tree during the installation.
Reported by: pointyhat via kris [1]
Diffstat (limited to 'textproc/s5')
-rw-r--r-- | textproc/s5/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/s5/Makefile b/textproc/s5/Makefile index 94fbf38c5b10..5888f9c084d1 100644 --- a/textproc/s5/Makefile +++ b/textproc/s5/Makefile @@ -14,6 +14,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} MAINTAINER= roam@FreeBSD.org COMMENT= A simple HTML-based presentation system +BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip + USE_ZIP= yes WRKSRC= ${WRKDIR} @@ -23,11 +25,11 @@ S5_SUBDIRS= pix primer s5-blank ui do-build: 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 do-install: ${MKDIR} ${S5_DIR} ${CP} ${WRKDIR}/*.html ${S5_DIR}/ - ${FIND} ${WRKDIR} -type f -name .DS_Store -delete .for i in ${S5_SUBDIRS} ${CP} -Rp ${WRKDIR}/$i/ ${S5_DIR}/$i/ .endfor |