mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
security/pev: Move man pages to share/man
Approved by: portmgr (blanket)
This commit is contained in:
parent
933092d511
commit
5df45234fa
@ -1,6 +1,6 @@
|
||||
PORTNAME= pev
|
||||
PORTVERSION= 0.80
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
|
||||
|
||||
|
@ -1,14 +1,5 @@
|
||||
--- src/Makefile.orig 2017-01-07 22:34:07 UTC
|
||||
+++ src/Makefile
|
||||
@@ -24,7 +24,7 @@ docdir = $(datarootdir)/doc/pev
|
||||
infodir = $(datarootdir)/info
|
||||
localedir = $(datarootdir)/locale
|
||||
|
||||
-mandir = $(datarootdir)/man
|
||||
+mandir = $(prefix)/man
|
||||
manext = .1
|
||||
man1dir = $(mandir)/man1
|
||||
man1ext = .1
|
||||
@@ -52,7 +52,7 @@ endif
|
||||
|
||||
####### Compiler options
|
||||
@ -18,13 +9,10 @@
|
||||
override CFLAGS += -I$(LIBPE) -I"../include" -W -Wall -Wextra -std=c99 -pedantic
|
||||
override CPPFLAGS += -D_GNU_SOURCE -DSHAREDIR="\"$(SHAREDIR)"\"
|
||||
|
||||
@@ -153,6 +153,17 @@ install: installdirs
|
||||
$(INSTALL_DATA) $(srcdir)/userdb.txt $(DESTDIR)$(SHAREDIR)
|
||||
cd $(PLUGINS_DIR) && $(MAKE) $@
|
||||
|
||||
+install-strip: installdirs
|
||||
+ for prog in $(PROGS); do \
|
||||
+ $(INSTALL_PROGRAM) -s $(pev_BUILDDIR)/$$prog $(DESTDIR)$(bindir); \
|
||||
@@ -145,6 +145,17 @@ install: installdirs
|
||||
install: installdirs
|
||||
for prog in $(PROGS); do \
|
||||
$(INSTALL_PROGRAM) $(pev_BUILDDIR)/$$prog $(DESTDIR)$(bindir); \
|
||||
+ $(CHK_FILE_EXISTS) $(MANDIR)/$$prog$(man1ext) && \
|
||||
+ gzip -c -9 $(MANDIR)/$$prog$(man1ext) > $(DESTDIR)$(man1dir)/$$prog$(man1ext).gz || \
|
||||
+ echo -n; \
|
||||
@ -33,6 +21,9 @@
|
||||
+ $(INSTALL_DATA) $(srcdir)/userdb.txt $(DESTDIR)$(SHAREDIR)
|
||||
+ cd $(PLUGINS_DIR) && $(MAKE) $@
|
||||
+
|
||||
installdirs:
|
||||
@$(CHK_DIR_EXISTS) $(DESTDIR) || $(MKDIR) $(DESTDIR)
|
||||
@$(CHK_DIR_EXISTS) $(DESTDIR)$(bindir) || $(MKDIR) $(DESTDIR)$(bindir)
|
||||
+install-strip: installdirs
|
||||
+ for prog in $(PROGS); do \
|
||||
+ $(INSTALL_PROGRAM) -s $(pev_BUILDDIR)/$$prog $(DESTDIR)$(bindir); \
|
||||
$(CHK_FILE_EXISTS) $(MANDIR)/$$prog$(man1ext) && \
|
||||
gzip -c -9 $(MANDIR)/$$prog$(man1ext) > $(DESTDIR)$(man1dir)/$$prog$(man1ext).gz || \
|
||||
echo -n; \
|
||||
|
@ -16,14 +16,14 @@ lib/pev/plugins/html_plugin.so
|
||||
lib/pev/plugins/json_plugin.so
|
||||
lib/pev/plugins/text_plugin.so
|
||||
lib/pev/plugins/xml_plugin.so
|
||||
man/man1/ofs2rva.1.gz
|
||||
man/man1/pedis.1.gz
|
||||
man/man1/pehash.1.gz
|
||||
man/man1/pepack.1.gz
|
||||
man/man1/peres.1.gz
|
||||
man/man1/pescan.1.gz
|
||||
man/man1/pesec.1.gz
|
||||
man/man1/pestr.1.gz
|
||||
man/man1/readpe.1.gz
|
||||
man/man1/rva2ofs.1.gz
|
||||
share/man/man1/ofs2rva.1.gz
|
||||
share/man/man1/pedis.1.gz
|
||||
share/man/man1/pehash.1.gz
|
||||
share/man/man1/pepack.1.gz
|
||||
share/man/man1/peres.1.gz
|
||||
share/man/man1/pescan.1.gz
|
||||
share/man/man1/pesec.1.gz
|
||||
share/man/man1/pestr.1.gz
|
||||
share/man/man1/readpe.1.gz
|
||||
share/man/man1/rva2ofs.1.gz
|
||||
%%DATADIR%%/userdb.txt
|
||||
|
Loading…
Reference in New Issue
Block a user