Skip to content

Commit

Permalink
graphics/ptex: replace local patches with committed by upstream
Browse files Browse the repository at this point in the history
Replace local patches with committed by upstream:
wdas/ptex@8ff5c3e

While here sort Makefile, pet portclippy and portlint.

PR:		279473
Approved by:	Shane <[email protected]> (maintainer)
  • Loading branch information
VVD committed Jun 3, 2024
1 parent fe6a421 commit 928157c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 46 deletions.
12 changes: 7 additions & 5 deletions graphics/ptex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ PORTNAME= ptex
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.2
PORTREVISION= 1
CATEGORIES?= graphics
CATEGORIES= graphics

PATCH_SITES= https://github.com/wdas/${PORTNAME}/commit/
PATCHFILES+= 8ff5c3e2cf2d2689ca09fc258da2173bfd57cf84.patch:-p1 # fix builds for FreeBSD

MAINTAINER= [email protected]
COMMENT= Per face texture library
Expand All @@ -12,15 +15,14 @@ LICENSE= BSD3CLAUSE

USES= cmake:insource compiler:c++11-lang cpe pkgconfig
CPE_VENDOR= disneyanimation
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= wdas
USE_LDCONFIG= yes

# yes really, the release tarbal doesn't know what version it is
CMAKE_ARGS+= -DPTEX_VER:STRING=${DISTVERSION} \
CMAKE_ARGS= -DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR} \
-DCMAKE_INSTALL_INCLUDEDIR:STRING=${LOCALBASE}/include/ptex \
-DCMAKE_INSTALL_DOCDIR:STRING=${DOCSDIR}
-DPTEX_VER:STRING=${DISTVERSION}

OPTIONS_DEFINE= DOCS

Expand Down
4 changes: 3 additions & 1 deletion graphics/ptex/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TIMESTAMP = 1666543361
TIMESTAMP = 1717349736
SHA256 (wdas-ptex-v2.4.2_GH0.tar.gz) = c8235fb30c921cfb10848f4ea04d5b662ba46886c5e32ad5137c5086f3979ee1
SIZE (wdas-ptex-v2.4.2_GH0.tar.gz) = 312942
SHA256 (8ff5c3e2cf2d2689ca09fc258da2173bfd57cf84.patch) = ad62e19cbf74c370b0906a11e0fff13d2057fd10fb00ee7706da4396c309d473
SIZE (8ff5c3e2cf2d2689ca09fc258da2173bfd57cf84.patch) = 2016
18 changes: 0 additions & 18 deletions graphics/ptex/files/patch-CMakeLists.txt

This file was deleted.

12 changes: 0 additions & 12 deletions graphics/ptex/files/patch-src_ptex_PtexPlatform.h

This file was deleted.

10 changes: 0 additions & 10 deletions graphics/ptex/files/patch-src_ptex_PtexWriter.cpp

This file was deleted.

0 comments on commit 928157c

Please sign in to comment.