49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2010/09/02 08:22:24 jasper Exp $
|
|
|
|
COMMENT = HTML slide generator based on SlideML
|
|
|
|
DISTNAME = slideml-1.0
|
|
REVISION = 1
|
|
|
|
CATEGORIES = productivity
|
|
|
|
HOMEPAGE = http://opensource.conformal.com/wiki/Slide_ML
|
|
|
|
MAINTAINER = Laurent Fanis <laurent@openbsd.org>
|
|
|
|
#W3C Software Notice and License & BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = http://opensource.conformal.com/snapshots/slideml/
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
RUN_DEPENDS = ::graphics/p5-Image-Size
|
|
|
|
NO_BUILD = Yes
|
|
NO_REGRESS = Yes
|
|
|
|
WRKDIST ?= ${WRKDIR}/slideml
|
|
|
|
DATA_DIR = ${PREFIX}/share/slideml
|
|
DOC_DIR = ${PREFIX}/share/doc/slideml
|
|
EG_DIR = ${PREFIX}/share/examples/slideml
|
|
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/slideml.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/slideml.pl ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/slideml_spec.txt ${DOC_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/license ${DOC_DIR}
|
|
${INSTALL_DATA_DIR} ${DATA_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/slidy.{css,js} ${DATA_DIR}
|
|
${INSTALL_DATA_DIR} ${EG_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/slides.sml ${EG_DIR}
|
|
|
|
.include <bsd.port.mk>
|