svn commit: r421570 - head/graphics/enblend
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Sep 8 17:48:46 UTC 2016
Author: amdmi3
Date: Thu Sep 8 17:48:45 2016
New Revision: 421570
URL: https://svnweb.freebsd.org/changeset/ports/421570
Log:
- Add LICENSE
- Switch to USES=localbase
- Install docs
PR: 179337
Submitted by: nemysis at gmx.ch
Approved by: maintainer timeout (grog, 3 years)
Modified:
head/graphics/enblend/Makefile
Modified: head/graphics/enblend/Makefile
==============================================================================
--- head/graphics/enblend/Makefile Thu Sep 8 17:48:02 2016 (r421569)
+++ head/graphics/enblend/Makefile Thu Sep 8 17:48:45 2016 (r421570)
@@ -11,6 +11,9 @@ DISTNAME= enblend-enfuse-${PORTVERSION}
MAINTAINER= grog at FreeBSD.org
COMMENT= Tool for image blending with multiresolution splines
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= help2man:misc/help2man \
${LOCALBASE}/bin/makeinfo:print/texinfo \
OpenEXR>=1.0:graphics/OpenEXR
@@ -22,16 +25,20 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2
RUN_DEPENDS= OpenEXR>=1.0:graphics/OpenEXR
USE_AUTOTOOLS= automake:env autoconf:env
-USES= compiler:features gmake jpeg makeinfo
+USES= compiler:features gmake jpeg localbase makeinfo
# We need a newer version of makeinfo for this.
# Remove this line when we remove texinfo from the base system.
-CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo"
+CONFIGURE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" \
+ --with-boost-filesystem
USE_GL= glew glut
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-boost-filesystem
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib -lboost_system
+
+INFO= enfuse enblend
+PLIST_FILES= bin/enblend bin/enfuse man/man1/enblend.1.gz man/man1/enfuse.1.gz
+PORTDOCS= AUTHORS NEWS README
+
+OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
@@ -44,10 +51,11 @@ USE_GCC= yes
CXXFLAGS+= -Wno-c++11-extensions
.endif
-INFO= enfuse enblend
-PLIST_FILES= bin/enblend bin/enfuse man/man1/enblend.1.gz man/man1/enfuse.1.gz
-
post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list