1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/graphics/box/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

# Created by: Charlie Kester <corky1951@comcast.net>
# $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 <bsd.port.options.mk>
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 <bsd.port.mk>