Skip to content

Commit

Permalink
net/ncp: 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 dd7bd90 commit ce91a77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions net/ncp/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ncp
PORTVERSION= 1.2.4
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://dl.fefe.de/ http://dl.mteege.de/fefe/

Expand All @@ -11,7 +12,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libowfat.a:devel/libowfat

USES= tar:bzip2

PLIST_FILES= bin/ncp bin/npush bin/npoll man/man1/ncp.1.gz man/man1/npush.1.gz
PLIST_FILES= bin/ncp bin/npush bin/npoll share/man/man1/ncp.1.gz share/man/man1/npush.1.gz

CFLAGS+= -I${LOCALBASE}/include/libowfat -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
Expand All @@ -27,7 +28,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ncp ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ncp.1 ${WRKSRC}/npush.1 \
${STAGEDIR}${MANPREFIX}/man/man1
${STAGEDIR}${PREFIX}/share/man/man1
${LN} -s ncp ${STAGEDIR}${PREFIX}/bin/npush
${LN} -s ncp ${STAGEDIR}${PREFIX}/bin/npoll

Expand Down

0 comments on commit ce91a77

Please sign in to comment.