mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
01408def1b
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]
39 lines
960 B
Makefile
39 lines
960 B
Makefile
# New ports collection makefile for: s5
|
|
# Date created: 28 October 2005
|
|
# Whom: Peter Pentchev <roam@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= s5
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.meyerweb.com/eric/tools/s5/v/${PORTVERSION}/
|
|
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}
|
|
|
|
S5_DIR= ${PREFIX}/share/${PORTNAME}
|
|
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}/
|
|
.for i in ${S5_SUBDIRS}
|
|
${CP} -Rp ${WRKDIR}/$i/ ${S5_DIR}/$i/
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKDIR}/s5-blank.sh ${PREFIX}/bin/s5-blank
|
|
|
|
.include <bsd.port.mk>
|