cad/openctm: Fix man path

Fixed man path and while in here fixed bogus patch resulting
in REINPLACE not doing anything, ran Makefile through portfmt.
This commit is contained in:
Diane Bruce 2024-03-02 10:34:08 -05:00
parent 0b90917a52
commit 196e4af828
3 changed files with 14 additions and 13 deletions

View file

@ -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
@ -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

View file

@ -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
@ -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

View file

@ -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