From 5fd9c17f34ae8a184861b4c4aa281c0b75a4533c Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Sat, 28 Dec 2013 05:03:44 +0000 Subject: [PATCH] - convert to stage --- comms/wwl/Makefile | 18 ++++++------------ comms/wwl/pkg-plist | 4 ++++ 2 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 comms/wwl/pkg-plist 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 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