aboutsummaryrefslogtreecommitdiff
path: root/print/pkpgcounter
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-07-07 07:01:53 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-07-07 07:01:53 +0000
commitf661841c3bc87d8e47ea661aeb6821f54059dc2c (patch)
tree15aa4d8a338141bd2a420be37acc1d7b7920e3ce /print/pkpgcounter
parentb8cebe091e6a91743f428f979d1b43c9583900d5 (diff)
downloadports-f661841c3bc87d8e47ea661aeb6821f54059dc2c.tar.gz
ports-f661841c3bc87d8e47ea661aeb6821f54059dc2c.zip
Notes
Diffstat (limited to 'print/pkpgcounter')
-rw-r--r--print/pkpgcounter/Makefile8
-rw-r--r--print/pkpgcounter/pkg-plist1
2 files changed, 2 insertions, 7 deletions
diff --git a/print/pkpgcounter/Makefile b/print/pkpgcounter/Makefile
index 13ce758c6ad5..7ea639ba3a52 100644
--- a/print/pkpgcounter/Makefile
+++ b/print/pkpgcounter/Makefile
@@ -18,15 +18,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-
-MAN1= ${PORTNAME}.1
-
PORTDOCS= README COPYING BUGS CREDITS NEWS
-.ifdef NOPORTDOCS
-_SED_NODOCS= -e '/^data_files.append.*docfiles/s|.*||'
-.endif
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} \
-e '/^directory.*man1/s|=.*|= "man/man1"|' \
diff --git a/print/pkpgcounter/pkg-plist b/print/pkpgcounter/pkg-plist
index 7789b5db7777..bb6226203c04 100644
--- a/print/pkpgcounter/pkg-plist
+++ b/print/pkpgcounter/pkg-plist
@@ -77,4 +77,5 @@ bin/pkpgcounter
%%PYTHON_SITELIBDIR%%/pkpgpdls/zjstream.py
%%PYTHON_SITELIBDIR%%/pkpgpdls/zjstream.pyc
%%PYTHON_SITELIBDIR%%/pkpgpdls/zjstream.pyo
+man/man1/pkpgcounter.1.gz
@dirrmtry %%PYTHON_SITELIBDIR%%/pkpgpdls