2012-11-02 19:53:19 +00:00
|
|
|
# Created by: Charlie Kester <corky1951@comcast.net>
|
2010-11-25 22:38:01 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= box
|
2012-11-02 19:53:19 +00:00
|
|
|
PORTVERSION= 0.3.4
|
2010-11-25 22:38:01 +00:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= SF/${PORTNAME}c/Box%20-%20the%20compiler/${DISTNAME}/
|
2012-11-02 19:53:19 +00:00
|
|
|
DIST_SUBDIR= box
|
2010-11-25 22:38:01 +00:00
|
|
|
|
2012-11-02 19:53:19 +00:00
|
|
|
MAINTAINER= nemysis@gmx.ch
|
2010-11-25 22:38:01 +00:00
|
|
|
COMMENT= Compiler for box, the figure description language
|
|
|
|
|
2011-09-01 08:52:22 +00:00
|
|
|
LICENSE= GPLv2 LGPL3
|
|
|
|
LICENSE_COMB= multi
|
|
|
|
|
2010-11-25 22:38:01 +00:00
|
|
|
BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
|
|
|
|
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-01 08:52:22 +00:00
|
|
|
CONFIGURE_ARGS= --with-cairo
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_JOBS_UNSAFE=yes
|
2010-11-25 22:38:01 +00:00
|
|
|
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
|
2012-11-02 19:53:19 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README STYLE TODO
|
|
|
|
|
2012-04-27 21:04:37 +00:00
|
|
|
PLIST_SUB+= PLIST_VER="0.3"
|
|
|
|
|
2012-11-02 19:53:19 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2010-11-25 22:38:01 +00:00
|
|
|
post-patch:
|
|
|
|
${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml
|
|
|
|
|
2012-11-02 19:53:19 +00:00
|
|
|
regression-test: build
|
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
|
2011-04-08 14:51:28 +00:00
|
|
|
|
2010-11-25 22:38:01 +00:00
|
|
|
post-install:
|
2012-11-02 19:53:19 +00:00
|
|
|
.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})
|
2010-11-25 22:38:01 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|