1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

x11/xforward: move man page

This commit is contained in:
Cy Schubert 2024-03-01 12:41:28 -08:00
parent 6736be3a3b
commit 4e25e50678
2 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= xforward
PORTVERSION= 1.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= http://komquats.com/distfiles/ \
http://people.freebsd.org/~cy/distfiles/
@ -21,6 +21,6 @@ USE_XORG= x11 xt xaw xmu xt xext sm ice xft xau xcb xdmcp xrender
MAKE_ARGS= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE}
NO_WRKSUBDIR= yes
PLIST_FILES= bin/xforward man/man1/xforward.1.gz
PLIST_FILES= bin/xforward share/man/man1/xforward.1.gz
.include <bsd.port.mk>

View File

@ -1,13 +1,15 @@
--- Makefile.orig 1993-06-04 19:32:01.000000000 -0700
+++ Makefile 2023-02-14 20:39:04.842100000 -0800
@@ -18,18 +18,19 @@
diff -u Makefile.orig Makefile
index c11964d..e1d0343 100644
--- Makefile.orig
+++ Makefile
@@ -18,17 +18,18 @@
# MANDIR is where the manual page will be installed.
DESTDIR=
-BINDIR=/usr/local/bin
-MANDIR=/usr/local/man/man1
+BINDIR=${PREFIX}/bin
+MANDIR=${PREFIX}/man/man1
+MANDIR=${PREFIX}/share/man/man1
# Where to find things
# INCFLAGS lists directories to search for header files
@ -20,12 +22,11 @@
+INCFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+LIBS= -lXm -lXt -lX11 -lXext
+
CFLAGS= ${INCFLAGS} -O
# For CenterLine CodeCenter
@@ -51,6 +52,7 @@
@@ -51,6 +52,7 @@ xforward.o: xforward.c
install: ${PROGS}
install -c xforward ${DESTDIR}${BINDIR}/xforward
install -c xforward.1 ${DESTDIR}${MANDIR}/xforward.1