Skip to content

Commit

Permalink
misc/rfc: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 22, 2024
1 parent b634174 commit f53b5cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions misc/rfc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= rfc
PORTVERSION= 3.2.3
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= misc
MASTER_SITES= https://BSDforge.com/projects/source/misc/rfc/

Expand All @@ -20,7 +20,7 @@ SHEBANG_FILES= ${PORTNAME}-${PORTVERSION}
NO_ARCH= yes
NO_BUILD= yes

PLIST_FILES= bin/rfc man/man1/rfc.1.gz
PLIST_FILES= bin/rfc share/man/man1/rfc.1.gz

do-configure:
@${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
Expand All @@ -33,6 +33,6 @@ do-configure:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-${PORTVERSION} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>

0 comments on commit f53b5cc

Please sign in to comment.