aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/wwl/Makefile18
-rw-r--r--comms/wwl/pkg-plist4
2 files changed, 10 insertions, 12 deletions
diff --git a/comms/wwl/Makefile b/comms/wwl/Makefile
index 2bffbb4710ac..da61d86c0629 100644
--- a/comms/wwl/Makefile
+++ b/comms/wwl/Makefile
@@ -13,19 +13,13 @@ MAINTAINER= db@FreeBSD.org
COMMENT= Calculates distance (qrb) used in Amateur Radio
CONFLICTS= locator*
-PORTDOCS= INSTALL
-PLIST_FILES= bin/wwl bin/locator
-MAN1= wwl.1
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/wwl ${PREFIX}/bin
- ${RM} -f ${PREFIX}/bin/locator
- ${LN} ${PREFIX}/bin/wwl ${PREFIX}/bin/locator
- ${INSTALL_DATA} ${WRKSRC}/wwl.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
-.endif
+ @${INSTALL_PROGRAM} ${WRKSRC}/wwl ${STAGEDIR}${PREFIX}/bin
+ @${RM} -f ${STAGEDIR}${PREFIX}/bin/locator
+ @${LN} -sf wwl ${STAGEDIR}${PREFIX}/bin/locator
+ @${INSTALL_DATA} ${WRKSRC}/wwl.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/comms/wwl/pkg-plist b/comms/wwl/pkg-plist
new file mode 100644
index 000000000000..af2ff7d127f4
--- /dev/null
+++ b/comms/wwl/pkg-plist
@@ -0,0 +1,4 @@
+bin/wwl
+man/man1/wwl.1.gz
+share/doc/wwl/INSTALL
+@dirrm share/doc/wwl