svn commit: r412286 - head/graphics/box
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Mar 31 18:58:19 UTC 2016
Author: amdmi3
Date: Thu Mar 31 18:58:18 2016
New Revision: 412286
URL: https://svnweb.freebsd.org/changeset/ports/412286
Log:
- Fix license
- Switch to new test framework
- Switch to options helpers
Modified:
head/graphics/box/Makefile
Modified: head/graphics/box/Makefile
==============================================================================
--- head/graphics/box/Makefile Thu Mar 31 18:55:22 2016 (r412285)
+++ head/graphics/box/Makefile Thu Mar 31 18:58:18 2016 (r412286)
@@ -11,8 +11,8 @@ DIST_SUBDIR= box
MAINTAINER= ports at FreeBSD.org
COMMENT= Compiler for box, the figure description language
-LICENSE= GPLv2 LGPL3
-LICENSE_COMB= dual
+LICENSE= GPLv2+ LGPL3+
+LICENSE_COMB= multi
BUILD_DEPENDS= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man
LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
@@ -23,24 +23,23 @@ CONFIGURE_ARGS= --with-cairo
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE=yes
MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}
+TEST_TARGET= check
PORTDOCS= AUTHORS ChangeLog README STYLE
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EXAMPLES
+PLIST_SUB= PLIST_VER=${PORTVERSION:R}
-PLIST_SUB+= PLIST_VER=${PORTVERSION:R}
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
${TOUCH} ${WRKSRC}/man/${PORTNAME}.sgml
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+post-install-EXAMPLES-on:
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-regression-test: build
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check)
-
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list