security/seccure: Move man pages to share/man

Approved by:	portmgr (blanket)
2024Q2
Nuno Teixeira 2024-03-21 18:32:49 +00:00
parent a247e1dcd8
commit 7e563699ae
3 changed files with 12 additions and 10 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= seccure
PORTVERSION= 0.5
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= security
MASTER_SITES= http://point-at-infinity.org/seccure/ \
NETBSD

View File

@ -1,14 +1,16 @@
--- Makefile 2009-04-09 08:42:50.000000000 -0400
+++ /tmp/Makefile 2011-05-26 19:30:35.000000000 -0400
@@ -1,4 +1,6 @@
-CFLAGS = -O2 -Wall # -D NOBEEP
--- Makefile.orig 2014-08-11 12:46:47 UTC
+++ Makefile
@@ -1,6 +1,8 @@ CFLAGS = -O2 -Wall -Wextra -std=c89 -pedantic -D_POSIX
CFLAGS = -O2 -Wall -Wextra -std=c89 -pedantic -D_POSIX_C_SOURCE=200112 # -D NOBEEP
-LIBS = -lgcrypt
+CFLAGS = -L$(LOCALBASE)/lib -I$(LOCALBASE)/include -O2 -DNOBEEP -DNOMEMLOCK -lgcrypt
+
+all: default
+all: default
+
default: binaries # doc
@@ -8,15 +10,15 @@
binaries: seccure-key seccure-encrypt seccure-decrypt seccure-sign \
@@ -9,15 +11,15 @@ install: default
doc: seccure.1 seccure.1.html
install: default
@ -29,7 +31,7 @@
+ ln -f $(DESTDIR)$(PREFIX)/bin/seccure-key $(DESTDIR)$(PREFIX)/bin/seccure-signcrypt
+ ln -f $(DESTDIR)$(PREFIX)/bin/seccure-key $(DESTDIR)$(PREFIX)/bin/seccure-veridec
+ ln -f $(DESTDIR)$(PREFIX)/bin/seccure-key $(DESTDIR)$(PREFIX)/bin/seccure-dh
+ install -m0644 seccure.1 $(DESTDIR)$(PREFIX)/man/man1
+ install -m0644 seccure.1 $(DESTDIR)$(PREFIX)/share/man/man1
clean:
rm -f *.o *~ seccure-key seccure-encrypt seccure-decrypt seccure-sign \

View File

@ -6,4 +6,4 @@ bin/seccure-verify
bin/seccure-signcrypt
bin/seccure-veridec
bin/seccure-dh
man/man1/seccure.1.gz
share/man/man1/seccure.1.gz