aboutsummaryrefslogtreecommitdiffstats
path: root/comms/hamlib
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2013-12-31 05:51:43 +0800
committerdb <db@FreeBSD.org>2013-12-31 05:51:43 +0800
commitdc6512b2b8e692ab7fbe45859cc72b9609a3416e (patch)
treedbfc80a37b03621e1d2b53672cb25c15bfd41fdd /comms/hamlib
parentf09c3b5285e05df967a12767a676da7d5cde7e3d (diff)
downloadfreebsd-ports-gnome-dc6512b2b8e692ab7fbe45859cc72b9609a3416e.tar.gz
freebsd-ports-gnome-dc6512b2b8e692ab7fbe45859cc72b9609a3416e.tar.zst
freebsd-ports-gnome-dc6512b2b8e692ab7fbe45859cc72b9609a3416e.zip
- Enable staging
Diffstat (limited to 'comms/hamlib')
-rw-r--r--comms/hamlib/Makefile15
-rw-r--r--comms/hamlib/pkg-plist9
2 files changed, 12 insertions, 12 deletions
diff --git a/comms/hamlib/Makefile b/comms/hamlib/Makefile
index cdd3ca8c111c..22380cdfe35a 100644
--- a/comms/hamlib/Makefile
+++ b/comms/hamlib/Makefile
@@ -26,10 +26,6 @@ CONFIGURE_ARGS= --with-perl-binding \
--with-python-binding --without-rigmatrix
PLIST_SUB= VER=${PORTVERSION} TCL_VER=${TCL_VER}
-MAN1= rigctl.1 rigmem.1 rigswr.1 rotctl.1 rigsmtr.1
-MAN8= rpc.rigd.8 rpc.rotd.8 rigctld.8 rotctld.8
-
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' \
-e 's|%%TCL_LIBDIR%%|${TCL_LIBDIR}/hamlib|g' \
@@ -38,21 +34,16 @@ post-patch:
${WRKSRC}/src/Makefile.in
post-build:
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \
- ${WRKSRC}/bindings/Hamlib-pl.mk
+ ${STAGEDIR}${WRKSRC}/bindings/Hamlib-pl.mk
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for d in ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${WRKSRC}/COPYING.LIB \
${WRKSRC}/ChangeLog ${WRKSRC}/INSTALL ${WRKSRC}/LICENSE \
${WRKSRC}/NEWS ${WRKSRC}/PLAN ${WRKSRC}/README \
${WRKSRC}/README.betatester ${WRKSRC}/README.win32 \
${WRKSRC}/THANKS
- ${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR}
.endfor
- @${ECHO}
- @${ECHO} "docs installed in ${DOCSDIR}"
- @${ECHO}
-.endif
.include <bsd.port.mk>
diff --git a/comms/hamlib/pkg-plist b/comms/hamlib/pkg-plist
index 7a4539048c70..5fb43d8bde46 100644
--- a/comms/hamlib/pkg-plist
+++ b/comms/hamlib/pkg-plist
@@ -169,6 +169,15 @@ share/aclocal/hamlib.m4
%%PORTDOCS%%%%DOCSDIR%%/README.betatester
%%PORTDOCS%%%%DOCSDIR%%/README.win32
%%PORTDOCS%%%%DOCSDIR%%/THANKS
+man/man1/rigctl.1.gz
+man/man1/rigmem.1.gz
+man/man1/rigswr.1.gz
+man/man1/rotctl.1.gz
+man/man1/rigsmtr.1.gz
+man/man8/rpc.rigd.8.gz
+man/man8/rpc.rotd.8.gz
+man/man8/rigctld.8.gz
+man/man8/rotctld.8.gz
@dirrm lib/hamlib
@dirrm lib/tcl%%TCL_VER%%/hamlib
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Hamlib