Changeset View
Standalone View
graphics/R-cran-Cairo/Makefile
- This file was added.
| PORTNAME= Cairo | |||||
| DISTVERSION= 1.7-0 | |||||
| CATEGORIES= graphics | |||||
| DISTNAME= ${PORTNAME}_${DISTVERSION} | |||||
| MAINTAINER= dteske@FreeBSD.org | |||||
| COMMENT= R Graphics Device using Cairo Graphics Library | |||||
mat: No. Choose only one. And please test before submitting reviews, an error like this does not… | |||||
Done Inline Actions
I wasn't aware DISTVERSION was even a thing. I was just creating a variable to use in DISTNAME since you cannot use a dash or underscore in PORTVERSION.
I did.
You are incorrect. dteske: > No. Choose only one
I wasn't aware DISTVERSION was even a thing. I was just creating a… | |||||
Done Inline ActionsWell, as one of the people who actually writes the framework, I can tell you that if you set both, it fails. For example, if I edit, say, sysutils/lsof's Makefile and add PORTVERSION set to the same value as DISTVERSION, it will fail with: $ make /!\ lsof-4.93.2_5,8: Makefile errors /!\ Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary, set DISTNAME *** Error code 1 Stop. make: stopped in /home/mat/work/freebsd/ports/sysutils/lsof Please read https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#makefile-versions You do have DEVELOPER=yes set in your make.conf, right? mat: Well, as one of the people who actually writes the framework, I can tell you that if you set… | |||||
Done Inline ActionsI do not have DEVELOPER=yes in make.conf ... when was that introduced? dteske: I do not have DEVELOPER=yes in make.conf ... when was that introduced? | |||||
Done Inline ActionsAppears DEVELOPER=yes was introduced in 2013 My first commit to ports was in 2012, when I was first mentored for ports dteske: Appears DEVELOPER=yes was introduced in 2013
My first commit to ports was in 2012, when I was… | |||||
| WWW= https://www.rforge.net/Cairo/ | |||||
| LICENSE= GPLv2 GPLv3 | |||||
| LICENSE_COMB= dual | |||||
| LIB_DEPENDS= libcairo.so:graphics/cairo \ | |||||
| libfreetype.so:print/freetype2 \ | |||||
| libharfbuzz.so:print/harfbuzz \ | |||||
| libharfbuzz-icu.so:print/harfbuzz-icu \ | |||||
| libicuuc.so:devel/icu \ | |||||
| libpng16.so:graphics/png \ | |||||
| libtiff.so:graphics/tiff | |||||
| USES= cran:auto-plist,compiles jpeg pkgconfig xorg | |||||
| USE_XORG= x11 xext xrender | |||||
| .include <bsd.port.mk> | |||||
No. Choose only one. And please test before submitting reviews, an error like this does not build.