Skip to content

Commit

Permalink
sysutils/cpdup: Sanitize MANPREFIX
Browse files Browse the repository at this point in the history
Approved by:    portmgr (blanket)
  • Loading branch information
5u623l20 committed Jan 21, 2024
1 parent 689f05e commit 7b8c675
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sysutils/cpdup/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cpdup
PORTVERSION= 1.22
PORTREVISION= 1
CATEGORIES= sysutils

MAINTAINER= gmarco@giovannelli.it
Expand All @@ -14,7 +15,7 @@ GH_TUPLE= DragonFlyBSD:${PORTNAME}:v${PORTVERSION}
MAKEFILE= GNUmakefile
MAKE_ARGS+= LIBS="-L${OPENSSLLIB} -lcrypto"

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

post-patch:
${REINPLACE_CMD} \
Expand All @@ -25,6 +26,6 @@ post-patch:

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cpdup ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/cpdup.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cpdup.1 ${STAGEDIR}${PREFIX}/share/man/man1

.include <bsd.port.mk>

0 comments on commit 7b8c675

Please sign in to comment.