1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

misc/sloccount: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Christian Weisgerber 2024-03-18 13:26:15 +01:00
parent 6e4fdd5a82
commit 5d5c60d13c
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= sloccount
PORTVERSION= 2.26
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.dwheeler.com/sloccount/

View File

@ -1,5 +1,5 @@
--- makefile.orig 2004-08-01 22:52:06.000000000 +0400
+++ makefile 2014-03-06 18:50:45.513966851 +0400
--- makefile.orig 2004-08-01 18:52:06 UTC
+++ makefile
@@ -28,7 +28,6 @@
# Set this for where to store the man pages and executables.
# If you want to store this as part of an official distribution,
@ -8,7 +8,7 @@
# Set "EXE_SUFFIX" to ".exe" if you're running on Windows, like this:
# EXE_SUFFIX=.exe
@@ -37,7 +36,6 @@
@@ -37,7 +36,6 @@ EXE_SUFFIX=
# Set this to your C compiler, if it's not "gcc"; a likely alternative is "cc".
# The "-Wall" option turns on warnings in gcc. gcc users might also want
# to consider using "-Werror", which turns warnings into errors.
@ -16,14 +16,14 @@
# Set this to the name of your "install" program. On some systems,
# "install -C" would be useful (so unchanged files won't be modified),
@@ -69,8 +67,8 @@
@@ -69,8 +67,8 @@ VERSIONEDNAME=$(NAME)-$(VERSION)
RPM_VERSION=1
ARCH=i386
VERSIONEDNAME=$(NAME)-$(VERSION)
-INSTALL_DIR=$(PREFIX)/bin
-MAN_DIR=$(PREFIX)/share/man
+INSTALL_DIR=${DESTDIR}$(PREFIX)/bin
+MAN_DIR=${DESTDIR}$(PREFIX)/man
+MAN_DIR=${DESTDIR}$(PREFIX)/share/man
MAN_DIR_MAN1=$(MAN_DIR)/man1
DOC_DIR=$(PREFIX)/share/doc/$(VERSIONEDNAME)-$(RPM_VERSION)
POSTED_DIR=/home/dwheeler/dwheeler.com/sloccount

View File

@ -38,4 +38,4 @@ bin/show_filecount
bin/sloccount
bin/sql_count
bin/tcl_count
man/man1/sloccount.1.gz
share/man/man1/sloccount.1.gz