* Add PKGNAMESUFFIX and rename the directory. This was done to show that IM6 is not the "main" version. But still fully supported by upstream. * Convert a number of options to optionhelpers. * Add option for ISO/IEC 23008-12:2017 HEIF suport * Add comment to pkg-descr explaining IM6's "legacy" tag. * Add comment to the patch-config_policy.xml file why it still needed. Please note that IM7 is not a drop in replacement due to library API and command arguments changes. And as a result ports need to decide for themself which version to use. Chase these changes in all the ports that using IM6. PR: 225102 (based on, only the version update) [1] Submitted by: Pascal Christen <pascal.christen@hostpoint.ch>
39 lines
1 KiB
Makefile
39 lines
1 KiB
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= paperclip
|
|
DISTVERSION= 6.1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RG
|
|
PKGNAMESUFFIX= -rails5
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= Easy upload management for ActiveRecord
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= rubygem-activemodel5>=4.2.0:databases/rubygem-activemodel5 \
|
|
rubygem-activesupport5>=4.2.0:devel/rubygem-activesupport5 \
|
|
rubygem-mimemagic>=0.3.0:misc/rubygem-mimemagic \
|
|
rubygem-mime-types>=0:misc/rubygem-mime-types \
|
|
rubygem-terrapin>=0.6.0:devel/rubygem-terrapin
|
|
|
|
USES= gem
|
|
USE_RUBY= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_SINGLE= IMAGEMAGICK
|
|
OPTIONS_SINGLE_IMAGEMAGICK= IMX11 IMNOX11
|
|
OPTIONS_DEFAULT= IMNOX11
|
|
|
|
IMAGEMAGICK_DESC= ImageMagick image processing support
|
|
IMNOX11_DESC= Depend on ImageMagick without X11 support
|
|
IMX11_DESC= Depend on ImageMagick with X11 support
|
|
|
|
IMNOX11_RUN_DEPENDS= ImageMagick6-nox11>0:graphics/ImageMagick6-nox11
|
|
IMX11_RUN_DEPENDS= ImageMagick6>0:graphics/ImageMagick6
|
|
|
|
.include <bsd.port.mk>
|