textproc/peg: Install man pages under share/man
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
dd1e2e8e88
commit
45f2464d8a
2 changed files with 8 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
||||||
PORTNAME= peg
|
PORTNAME= peg
|
||||||
DISTVERSION= 0.1.19
|
DISTVERSION= 0.1.19
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc
|
CATEGORIES= textproc
|
||||||
MASTER_SITES= https://www.piumarta.com/software/peg/
|
MASTER_SITES= https://www.piumarta.com/software/peg/
|
||||||
|
|
||||||
|
@ -13,7 +14,7 @@ USES= gmake
|
||||||
|
|
||||||
PLIST_FILES= bin/leg \
|
PLIST_FILES= bin/leg \
|
||||||
bin/peg \
|
bin/peg \
|
||||||
man/man1/peg.1.gz
|
share/man/man1/peg.1.gz
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's,%%STAGEDIR%%,${STAGEDIR},g' \
|
@${REINPLACE_CMD} -e 's,%%STAGEDIR%%,${STAGEDIR},g' \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
--- Makefile.orig 2016-07-22 00:55:15 UTC
|
--- Makefile.orig 2023-11-19 06:10:00 UTC
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-CFLAGS = -g -Wall $(OFLAGS) $(XFLAGS) -Isrc
|
-CFLAGS = -g -Wall $(OFLAGS) $(XFLAGS) -Isrc
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
OFLAGS = -O3 -DNDEBUG
|
OFLAGS = -O3 -DNDEBUG
|
||||||
#OFLAGS = -pg
|
#OFLAGS = -pg
|
||||||
|
|
||||||
@@ -14,8 +14,8 @@ leg : leg.o $(OBJS)
|
@@ -14,10 +14,10 @@ leg : leg.o $(OBJS)
|
||||||
$(CC) $(CFLAGS) -o $@-new leg.o $(OBJS)
|
$(CC) $(CFLAGS) -o $@-new leg.o $(OBJS)
|
||||||
mv $@-new $@
|
mv $@-new $@
|
||||||
|
|
||||||
|
@ -15,5 +15,8 @@
|
||||||
+ROOT = %%STAGEDIR%%
|
+ROOT = %%STAGEDIR%%
|
||||||
+PREFIX = %%PREFIX%%
|
+PREFIX = %%PREFIX%%
|
||||||
BINDIR = $(ROOT)$(PREFIX)/bin
|
BINDIR = $(ROOT)$(PREFIX)/bin
|
||||||
MANDIR = $(ROOT)$(PREFIX)/man/man1
|
-MANDIR = $(ROOT)$(PREFIX)/man/man1
|
||||||
|
+MANDIR = $(ROOT)$(PREFIX)/share/man/man1
|
||||||
|
|
||||||
|
install : $(BINDIR) $(BINDIR)/peg $(BINDIR)/leg $(MANDIR) $(MANDIR)/peg.1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue