Skip to content

Commit

Permalink
net/micro_proxy: Move manpages to share/man
Browse files Browse the repository at this point in the history
While here set LICENSE found in source code
  • Loading branch information
ehaupt committed Jan 21, 2024
1 parent d10d0d1 commit e2dbf5e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions 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
Expand All @@ -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>

0 comments on commit e2dbf5e

Please sign in to comment.