aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2014-05-22 21:16:37 +0800
committerbsam <bsam@FreeBSD.org>2014-05-22 21:16:37 +0800
commit899cace715fe512bcce0e92897c3a3672c1fb568 (patch)
tree2c89eca746ed10aa7652902b38409da5b12f134f /graphics
parentb444a05cb214c831a1523251ec8d80b401d93309 (diff)
downloadfreebsd-ports-gnome-899cace715fe512bcce0e92897c3a3672c1fb568.tar.gz
freebsd-ports-gnome-899cace715fe512bcce0e92897c3a3672c1fb568.tar.zst
freebsd-ports-gnome-899cace715fe512bcce0e92897c3a3672c1fb568.zip
graphics/pfstools: stagify and more
. stagify; . use new LIB_DEPENDS syntax; . incorporate USES=gmake libtool. While here: . add LICENSE (LGPL21); . bump PORTREVISION. PR: ports/189644 Submitted by: "Daniel O'Connor" <darius@dons.net.au> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pfstools/Makefile50
-rw-r--r--graphics/pfstools/pkg-plist31
2 files changed, 39 insertions, 42 deletions
diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile
index 49cbc0c7ae8a..a878c135e228 100644
--- a/graphics/pfstools/Makefile
+++ b/graphics/pfstools/Makefile
@@ -3,13 +3,15 @@
PORTNAME= pfstools
PORTVERSION= 1.6.4
-PORTREVISION= 15
+PORTREVISION= 16
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= darius@dons.net.au
COMMENT= Tools for manipulating HDR images and video frames
+LICENSE= LGPL21
+
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
PFS_CPPFLAGS= -I${LOCALBASE}/include
@@ -24,8 +26,7 @@ CONFIGURE_ARGS= --disable-jpeghdr --disable-matlab \
CONFIGURE_ENV= PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig"
CPPFLAGS+= ${PFS_CPPFLAGS}
LDFLAGS+= ${PFS_LDFLAGS}
-USE_AUTOTOOLS= libtool
-USE_GMAKE= yes
+USES= gmake libtool
USE_LDCONFIG= yes
USES= pkgconfig
@@ -34,46 +35,11 @@ OCTAVE_DESC= Compile octave interface functions
OPTIONS_DEFAULT= TIFF
-MAN1= pfsin.1 \
- pfsout.1 \
- pfsinppm.1 \
- pfsinexr.1 \
- pfsinrgbe.1 \
- pfsintiff.1 \
- pfsoutppm.1 \
- pfsoutexr.1 \
- pfsoutffmpeg.1 \
- pfsinpfm.1 \
- pfsoutpfm.1 \
- pfsinmulti.1 \
- pfsinimgmagick.1 \
- pfsoutimgmagick.1 \
- pfsinjpeghdr.1 \
- pfsoutjpeghdr.1 \
- pfsindcraw.1 \
- pfsgamma.1 \
- pfsclamp.1 \
- pfstag.1 \
- pfssize.1 \
- pfsextractchannels.1 \
- pfspanoramic.1 \
- pfsrotate.1 \
- pfsflip.1 \
- pfscut.1 \
- pfspad.1 \
- pfscat.1 \
- pfsabsolute.1
-MLINKS= pfsoutppm.1 \
- pfsouttiff.1 \
- pfsoutppm.1 \
- pfsoutrgbe.1
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNETPBM}
CONFIGURE_ARGS+=--enable-ppm
-LIB_DEPENDS+= netpbm.1:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS+= libnetpbm.so:${PORTSDIR}/graphics/netpbm
PLIST_SUB+= PPM=""
.else
CONFIGURE_ARGS+=--disable-ppm
@@ -84,7 +50,7 @@ PLIST_SUB+= PPM="@comment "
PFS_CPPFLAGS+= ${PTHREAD_CFLAGS}
PFS_LDFLAGS+= ${PTHREAD_LIBS}
CONFIGURE_ARGS+=--enable-openexr --with-exrdir=${LOCALBASE}/include/OpenEXR
-LIB_DEPENDS+= IlmImf:${PORTSDIR}/graphics/OpenEXR
+LIB_DEPENDS+= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
PLIST_SUB+= EXR=""
.else
CONFIGURE_ARGS+=--disable-openexr
@@ -93,7 +59,7 @@ PLIST_SUB+= EXR="@comment "
.if ${PORT_OPTIONS:MTIFF}
CONFIGURE_ARGS+=--enable-tiff
-LIB_DEPENDS+= tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS+= libtiff.so:${PORTSDIR}/graphics/tiff
PLIST_SUB+= TIFF=""
.else
CONFIGURE_ARGS+=--disable-tiff
@@ -105,7 +71,7 @@ PLIST_SUB+= QT="@comment "
.if ${PORT_OPTIONS:MIMAGEMAGICK}
CONFIGURE_ARGS+=--enable-imagemagick
-LIB_DEPENDS+= Magick++.5:${PORTSDIR}/graphics/ImageMagick
+LIB_DEPENDS+= libMagick++.so:${PORTSDIR}/graphics/ImageMagick
PLIST_SUB+= IM=""
.else
CONFIGURE_ARGS+=--disable-imagemagick
diff --git a/graphics/pfstools/pkg-plist b/graphics/pfstools/pkg-plist
index 4b4719f33eb7..4557fd9d57f6 100644
--- a/graphics/pfstools/pkg-plist
+++ b/graphics/pfstools/pkg-plist
@@ -40,6 +40,37 @@ lib/libpfs-1.2.la
lib/libpfs-1.2.so
lib/libpfs-1.2.so.0
libdata/pkgconfig/pfs.pc
+man/man1/pfsabsolute.1.gz
+man/man1/pfscat.1.gz
+man/man1/pfsclamp.1.gz
+man/man1/pfscut.1.gz
+man/man1/pfsextractchannels.1.gz
+man/man1/pfsflip.1.gz
+man/man1/pfsgamma.1.gz
+man/man1/pfsin.1.gz
+man/man1/pfsindcraw.1.gz
+man/man1/pfsinexr.1.gz
+man/man1/pfsinimgmagick.1.gz
+man/man1/pfsinjpeghdr.1.gz
+man/man1/pfsinmulti.1.gz
+man/man1/pfsinpfm.1.gz
+man/man1/pfsinppm.1.gz
+man/man1/pfsinrgbe.1.gz
+man/man1/pfsintiff.1.gz
+man/man1/pfsout.1.gz
+man/man1/pfsoutexr.1.gz
+man/man1/pfsoutffmpeg.1.gz
+man/man1/pfsoutimgmagick.1.gz
+man/man1/pfsoutjpeghdr.1.gz
+man/man1/pfsoutpfm.1.gz
+man/man1/pfsoutppm.1.gz
+man/man1/pfsoutrgbe.1.gz
+man/man1/pfsouttiff.1.gz
+man/man1/pfspad.1.gz
+man/man1/pfspanoramic.1.gz
+man/man1/pfsrotate.1.gz
+man/man1/pfssize.1.gz
+man/man1/pfstag.1.gz
%%OCTAVE%%@cwd %%OCTAVE_BASE%%
%%OCTAVE%%libexec/octave/%%OCTAVE_VERSION%%/site/oct/%%BUILD%%/pfstools/pfsclose.oct
%%OCTAVE%%libexec/octave/%%OCTAVE_VERSION%%/site/oct/%%BUILD%%/pfstools/pfsget.oct