games/xblood: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Christian Weisgerber 2024-03-16 14:54:08 +00:00
parent 5fd71de883
commit eb3e11bd62
2 changed files with 6 additions and 35 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= xblood
PORTVERSION= 2.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://kozos.jp/myfreesoft/
@ -11,12 +11,13 @@ WWW= https://kozos.jp/myfreesoft/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
MAKE_ENV= X11BASE=${LOCALBASE}
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" X11BASE="${LOCALBASE}"
USES= xorg
USE_XORG= x11
PLIST_FILES= bin/xblood man/man1/xblood.1.gz
PLIST_FILES= bin/xblood share/man/man1/xblood.1.gz
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xblood
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xblood ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xblood.1.gz ${STAGEDIR}${PREFIX}/share/man/man1
.include <bsd.port.mk>

View File

@ -1,30 +0,0 @@
--- ./Makefile.orig 2000-02-26 19:02:52.000000000 -0200
+++ ./Makefile 2013-11-12 23:55:39.000000000 -0200
@@ -1,12 +1,12 @@
-PREFIX = /usr/X11R6
-X11BASE = /usr/X11R6
+#PREFIX = /usr/X11R6
+#X11BASE = /usr/X11R6
INCLUDEDIR = $(X11BASE)/include
LIBDIR = $(X11BASE)/lib
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/man/man1
-CC = gcc
+#CC = gcc
RM = rm -f
-CFLAGS = -O
+#CFLAGS = -O
LIBS = -lX11
PKGNAME = xblood-2.0
VERSION = XBlood-2.0
@@ -27,8 +27,8 @@
$(RM) xblood.1.gz
install :
- cp xblood $(BINDIR)
- cp xblood.1.gz $(MANDIR)
+ cp xblood ${DESTDIR}$(BINDIR)
+ cp xblood.1.gz ${DESTDIR}$(MANDIR)
uninstall :
$(RM) $(BINDIR)/xblood