aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns/noip/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index 4e28a9df51b8..dd7fa65cc8d8 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -23,17 +23,13 @@ GROUPS= noip
PLIST_SUB+= USER="${USERS}"
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/noip2 ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README.FIRST ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
conf:
(cd ${PREFIX}/etc && ${PREFIX}/bin/noip2 -C)