Lines 2-8
PORTNAME= ptex
Link Here
|
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 2.4.2 |
3 |
DISTVERSION= 2.4.2 |
4 |
PORTREVISION= 1 |
4 |
PORTREVISION= 1 |
5 |
CATEGORIES?= graphics |
5 |
CATEGORIES= graphics |
|
|
6 |
|
7 |
PATCH_SITES= https://github.com/wdas/${PORTNAME}/commit/ |
8 |
PATCHFILES+= 8ff5c3e2cf2d2689ca09fc258da2173bfd57cf84.patch:-p1 # fix builds for FreeBSD |
6 |
|
9 |
|
7 |
MAINTAINER= FreeBSD@Shaneware.biz |
10 |
MAINTAINER= FreeBSD@Shaneware.biz |
8 |
COMMENT= Per face texture library |
11 |
COMMENT= Per face texture library |
Lines 12-26
LICENSE= BSD3CLAUSE
Link Here
|
12 |
|
15 |
|
13 |
USES= cmake:insource compiler:c++11-lang cpe pkgconfig |
16 |
USES= cmake:insource compiler:c++11-lang cpe pkgconfig |
14 |
CPE_VENDOR= disneyanimation |
17 |
CPE_VENDOR= disneyanimation |
15 |
USE_LDCONFIG= yes |
|
|
16 |
|
17 |
USE_GITHUB= yes |
18 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= wdas |
19 |
GH_ACCOUNT= wdas |
|
|
20 |
USE_LDCONFIG= yes |
19 |
|
21 |
|
20 |
# yes really, the release tarbal doesn't know what version it is |
22 |
# yes really, the release tarbal doesn't know what version it is |
21 |
CMAKE_ARGS+= -DPTEX_VER:STRING=${DISTVERSION} \ |
23 |
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \ |
22 |
-DCMAKE_INSTALL_INCLUDEDIR:STRING=${LOCALBASE}/include/ptex \ |
24 |
-DCMAKE_INSTALL_INCLUDEDIR:STRING=${LOCALBASE}/include/ptex \ |
23 |
-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} |
25 |
-DPTEX_VER:STRING=${DISTVERSION} |
24 |
|
26 |
|
25 |
OPTIONS_DEFINE= DOCS |
27 |
OPTIONS_DEFINE= DOCS |
26 |
|
28 |
|