summaryrefslogtreecommitdiff
path: root/net/msntp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/msntp/Makefile')
-rw-r--r--net/msntp/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/msntp/Makefile b/net/msntp/Makefile
index 58c3d71e59e8..8ab45391db54 100644
--- a/net/msntp/Makefile
+++ b/net/msntp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= msntp
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.openpkg.org/sources/DST/${PORTNAME}/
@@ -17,14 +18,15 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-lm"
CFLAGS+= -DLOCKNAME='\"/var/run/msntp.pid\"'
CFLAGS+= -DSAVENAME='\"/var/db/msntp.state\"'
MAN1= msntp.1
+PORTDOCS= README RFC2030.TXT
+PLIST_FILES= bin/msntp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/msntp ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/msntp.1 ${PREFIX}/man/man1
- ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/msntp.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
- ${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL} -d ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>