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
|
2013-09-13 01:14:18 +00:00
|
|
|
PORTVERSION= 0.4.0
|
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
|
|
|
|
2013-09-13 01:14:18 +00:00
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
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
|
2013-09-13 01:14:18 +00:00
|
|
|
LICENSE_COMB= dual
|
2011-09-01 08:52:22 +00:00
|
|
|
|
2010-11-25 22:38:01 +00:00
|
|
|
BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
|
2013-09-13 01:14:18 +00:00
|
|
|
LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
|
2010-11-25 22:38:01 +00:00
|
|
|
|
2013-09-13 01:14:18 +00:00
|
|
|
USES= gmake
|
2010-11-25 22:38:01 +00:00
|
|
|
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
|
|
|
|
2012-11-02 19:53:19 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README STYLE TODO
|
2013-09-13 01:14:18 +00:00
|
|
|
PORTEXAMPLES= *
|
2012-11-02 19:53:19 +00:00
|
|
|
|
2013-09-13 01:14:18 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2012-04-27 21:04:37 +00:00
|
|
|
|
2014-01-16 23:40:54 +00:00
|
|
|
PLIST_SUB+= PLIST_VER=${PORTVERSION:R}
|
2012-11-02 19:53:19 +00:00
|
|
|
|
2010-11-25 22:38:01 +00:00
|
|
|
post-patch:
|
|
|
|
${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml
|
|
|
|
|
|
|
|
post-install:
|
2014-01-16 23:40:54 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
2010-11-25 22:38:01 +00:00
|
|
|
|
2013-09-13 01:14:18 +00:00
|
|
|
regression-test: build
|
|
|
|
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
|
|
|
|
|
2010-11-25 22:38:01 +00:00
|
|
|
.include <bsd.port.mk>
|