Skip to content

Commit

Permalink
cad/openctm: Fix man path
Browse files Browse the repository at this point in the history
Fixed man path and while in here fixed bogus patch resulting
in REINPLACE not doing anything, ran Makefile through portfmt.
  • Loading branch information
Diane Bruce authored and Diane Bruce committed Mar 2, 2024
1 parent 0b90917 commit 196e4af
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
17 changes: 9 additions & 8 deletions cad/openctm/Makefile
@@ -1,6 +1,6 @@
PORTNAME= openctm
DISTVERSION= 1.0.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= cad
MASTER_SITES= https://sourceforge.net/projects/openctm/files/
DISTNAME= OpenCTM-${DISTVERSION}-src
Expand All @@ -12,17 +12,18 @@ WWW= https://sourceforge.net/projects/openctm/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

LIB_DEPENDS= libtinyxml.so:textproc/tinyxml \
libpnglite.so:graphics/pnglite \
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
libharfbuzz.so:print/harfbuzz \
libpnglite.so:graphics/pnglite \
libtinyxml.so:textproc/tinyxml
BUILD_DEPENDS= pnglite>0:graphics/pnglite \
tinyxml>0:textproc/tinyxml

USES= compiler:c++11-lang dos2unix gettext-runtime gl gmake \
gnome jpeg pkgconfig tar:bz2
USE_GL= gl glu glew glut
USE_GNOME= gtk20 pango atk cairo gdkpixbuf2 glib20
USES= compiler:c++11-lang dos2unix gettext-runtime gl gmake gnome \
jpeg pkgconfig tar:bz2
USE_GL= gl glew glu glut
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
MAKEFILE= Makefile.linux
USE_LDCONFIG= yes

Expand Down
6 changes: 3 additions & 3 deletions cad/openctm/files/patch-Makefile.linux
@@ -1,5 +1,5 @@
--- Makefile.linux.orig 2020-03-15 00:26:34 UTC
+++ Makefile.linux
--- Makefile.linux.orig 2024-03-02 10:17:18.143681000 -0500
+++ Makefile.linux 2024-03-02 10:23:51.199192000 -0500
@@ -29,37 +29,41 @@
.phony: default all openctm toolset documentation install clean

Expand Down Expand Up @@ -37,7 +37,7 @@
+LIBDIR = $(PREFIX)/lib/
+INCDIR = $(PREFIX)/include/
+BINDIR = $(PREFIX)/bin/
+MAN1DIR = $(PREFIX)/man/man1/
+MAN1DIR = $(PREFIX)/share/man/man1/
CP = cp
MKDIR = mkdir -p

Expand Down
4 changes: 2 additions & 2 deletions cad/openctm/pkg-plist
Expand Up @@ -3,5 +3,5 @@ bin/ctmviewer
include/openctm.h
include/openctmpp.h
lib/libopenctm.so
man/man1/ctmconv.1.gz
man/man1/ctmviewer.1.gz
share/man/man1/ctmconv.1.gz
share/man/man1/ctmviewer.1.gz

0 comments on commit 196e4af

Please sign in to comment.