diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-11 18:50:36 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2014-12-11 18:50:36 +0800 |
commit | 9ceb32104f85f725fb5277f0a8d18abb8c7db36b (patch) | |
tree | 92ffb449214931efdde578fcfe907d09de8b4692 /graphics/libpano13 | |
parent | c8e78e177626a09b2ad5cb97e74a7d1d18681913 (diff) | |
download | freebsd-ports-gnome-9ceb32104f85f725fb5277f0a8d18abb8c7db36b.tar.gz freebsd-ports-gnome-9ceb32104f85f725fb5277f0a8d18abb8c7db36b.tar.zst freebsd-ports-gnome-9ceb32104f85f725fb5277f0a8d18abb8c7db36b.zip |
- Add LICENSE
- Properly OPTIONize java support
PR: 191787
Submitted by: mazhe@alkumuna.eu
Approved by: maintainer timeout (vd, 5 months)
Diffstat (limited to 'graphics/libpano13')
-rw-r--r-- | graphics/libpano13/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile index 75e76d5a4907..b2cce7c4f113 100644 --- a/graphics/libpano13/Makefile +++ b/graphics/libpano13/Makefile @@ -3,13 +3,16 @@ PORTNAME= libpano13 PORTVERSION= 2.9.18 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics java MASTER_SITES= SF/panotools/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= vd@FreeBSD.org COMMENT= Cross-platform library behind Panorama Tools and other photo stitchers +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libpng15.so:${PORTSDIR}/graphics/png \ libtiff.so:${PORTSDIR}/graphics/tiff @@ -29,15 +32,18 @@ INSTALL_TARGET= install-strip USE_LDCONFIG= yes -.if !defined(WITHOUT_JAVA) +OPTIONS_DEFINE= JAVA +OPTIONS_SUB= yes + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_OS= native CONFIGURE_ARGS+= --with-java=${JAVA_HOME} -PLIST_SUB= JAVA="" .else CONFIGURE_ARGS+= --without-java -PLIST_SUB= JAVA="@comment " .endif .include <bsd.port.mk> |