git: e2dbf5e9a0ff - main - net/micro_proxy: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 12:18:36 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e2dbf5e9a0ffc14649ab937988d2bff8cbb642c2
commit e2dbf5e9a0ffc14649ab937988d2bff8cbb642c2
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 12:18:29 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 12:18:29 +0000
net/micro_proxy: Move manpages to share/man
While here set LICENSE found in source code
---
net/micro_proxy/Makefile | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/net/micro_proxy/Makefile b/net/micro_proxy/Makefile
index 2769b04072f4..753a6f04af37 100644
--- a/net/micro_proxy/Makefile
+++ b/net/micro_proxy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= micro_proxy
-PORTVERSION= 20140814
-PORTREVISION= 1
+DISTVERSION= 20140814
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.acme.com/software/micro_proxy/ \
LOCAL/ehaupt
@@ -10,16 +10,20 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Really small HTTP/HTTPS proxy
WWW= https://www.acme.com/software/micro_proxy/
-WRKSRC= ${WRKDIR}/${PORTNAME}
-PLIST_FILES= libexec/micro_proxy man/man8/micro_proxy.8.gz
+LICENSE= BSD2CLAUSE
+
SUB_FILES= pkg-message
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_FILES= libexec/micro_proxy \
+ share/man/man8/micro_proxy.8.gz
+
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/share/man/man8
.include <bsd.port.mk>