mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 01:30:33 -04:00
A new USES has been added to depend on ImageMagick. USES=magick adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. If a specific version is required, use for example USES=magick:6 resp. USES=magick:7 If only a build, run or test is required, use for example USES=magick:build resp. USES=magick:6,build,test If a dependency on the nox11 flavor is required, use for example USES=magick:nox11 resp. USES=magick:7,nox11,run,test See magick.mk for more details on the available flags. The tree has been completely converted to make use of this. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D32754
38 lines
944 B
Makefile
38 lines
944 B
Makefile
# Created by: Ryan Steinmetz <zi@FreeBSD.org>
|
|
|
|
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= cpe gem
|
|
CPE_VENDOR= thoughtbot
|
|
USE_RUBY= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_SINGLE= IMAGEMAGICK
|
|
OPTIONS_SINGLE_IMAGEMAGICK= IMX11 IMNOX11
|
|
OPTIONS_DEFAULT= IMNOX11
|
|
|
|
IMNOX11_DESC= Depend on ImageMagick without X11 support
|
|
IMX11_DESC= Depend on ImageMagick with X11 support
|
|
|
|
IMNOX11_USES= magick:6,run,nox11
|
|
IMX11_USES= magick:6,run
|
|
|
|
.include <bsd.port.mk>
|