# Created by: Charlie Kester # $FreeBSD$ PORTNAME= box PORTVERSION= 0.3.4 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}c/Box%20-%20the%20compiler/${DISTNAME}/ DIST_SUBDIR= box MAINTAINER= nemysis@gmx.ch COMMENT= Compiler for box, the figure description language LICENSE= GPLv2 LGPL3 LICENSE_COMB= multi BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cairo USE_LDCONFIG= yes MAKE_JOBS_UNSAFE=yes MAN1= ${PORTNAME}.1 PORTDOCS= AUTHORS ChangeLog README STYLE TODO PLIST_SUB+= PLIST_VER="0.3" .include post-patch: ${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check) post-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif .include