aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2024-03-06 10:15:24 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2024-03-06 10:48:38 +0000
commitc7f1bf5b7667d9de49d3ea6829d5b3dba642e60b (patch)
treebea46d93d8c905bfeac45d0cb3f7d1ce63eaf866
parent4f18f563c6dfef75cff31adc4b2888a00dc6300d (diff)
downloadports-c7f1bf5b7667d9de49d3ea6829d5b3dba642e60b.tar.gz
ports-c7f1bf5b7667d9de49d3ea6829d5b3dba642e60b.zip
devel/libnfc: Move man pages to share/man
Approved by: portmgr (blanket)
-rw-r--r--devel/libnfc/Makefile4
-rw-r--r--devel/libnfc/pkg-plist42
2 files changed, 24 insertions, 22 deletions
diff --git a/devel/libnfc/Makefile b/devel/libnfc/Makefile
index f5c604c0ec3e..884afa2d7685 100644
--- a/devel/libnfc/Makefile
+++ b/devel/libnfc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libnfc
PORTVERSION= 1.8.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://github.com/nfc-tools/libnfc/releases/download/libnfc-${PORTVERSION}/
@@ -23,10 +24,11 @@ PN532_UART_DESC=PN532 UART driver
PN53X_USB_DESC= PN53X USB driver
GNU_CONFIGURE= yes
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
USES= gmake libtool pathfix pkgconfig readline tar:bzip2
USE_LDCONFIG= yes
MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}"
-CFLAGS+= -D__BSD_VISIBLE
+CFLAGS+= -D__BSD_VISIBLE
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
diff --git a/devel/libnfc/pkg-plist b/devel/libnfc/pkg-plist
index 0d8148ec5d9e..4d492fc363c8 100644
--- a/devel/libnfc/pkg-plist
+++ b/devel/libnfc/pkg-plist
@@ -27,25 +27,25 @@ lib/libnfc.so
lib/libnfc.so.6
lib/libnfc.so.6.0.0
libdata/pkgconfig/libnfc.pc
-man/man1/nfc-anticol.1.gz
-man/man1/nfc-barcode.1.gz
-man/man1/nfc-dep-initiator.1.gz
-man/man1/nfc-dep-target.1.gz
-man/man1/nfc-emulate-forum-tag2.1.gz
-man/man1/nfc-emulate-forum-tag4.1.gz
-man/man1/nfc-emulate-tag.1.gz
-man/man1/nfc-emulate-uid.1.gz
-man/man1/nfc-jewel.1.gz
-man/man1/nfc-list.1.gz
-man/man1/nfc-mfclassic.1.gz
-man/man1/nfc-mfsetuid.1.gz
-man/man1/nfc-mfultralight.1.gz
-man/man1/nfc-poll.1.gz
-man/man1/nfc-read-forum-tag3.1.gz
-man/man1/nfc-relay-picc.1.gz
-man/man1/nfc-relay.1.gz
-man/man1/nfc-scan-device.1.gz
-man/man1/pn53x-diagnose.1.gz
-man/man1/pn53x-sam.1.gz
-man/man1/pn53x-tamashell.1.gz
+share/man/man1/nfc-anticol.1.gz
+share/man/man1/nfc-barcode.1.gz
+share/man/man1/nfc-dep-initiator.1.gz
+share/man/man1/nfc-dep-target.1.gz
+share/man/man1/nfc-emulate-forum-tag2.1.gz
+share/man/man1/nfc-emulate-forum-tag4.1.gz
+share/man/man1/nfc-emulate-tag.1.gz
+share/man/man1/nfc-emulate-uid.1.gz
+share/man/man1/nfc-jewel.1.gz
+share/man/man1/nfc-list.1.gz
+share/man/man1/nfc-mfclassic.1.gz
+share/man/man1/nfc-mfsetuid.1.gz
+share/man/man1/nfc-mfultralight.1.gz
+share/man/man1/nfc-poll.1.gz
+share/man/man1/nfc-read-forum-tag3.1.gz
+share/man/man1/nfc-relay-picc.1.gz
+share/man/man1/nfc-relay.1.gz
+share/man/man1/nfc-scan-device.1.gz
+share/man/man1/pn53x-diagnose.1.gz
+share/man/man1/pn53x-sam.1.gz
+share/man/man1/pn53x-tamashell.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pn53x.conf