diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2013-12-26 21:37:51 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2013-12-26 21:37:51 +0000 |
commit | 62d4f03572037ef54784b9e5590a6384db570e8a (patch) | |
tree | a503f72b5c14f4856c580effa8464826c3f75b6d | |
parent | 4648f4d4f4cb76c217f0bd91d7645120dd78a100 (diff) | |
download | ports-62d4f03572037ef54784b9e5590a6384db570e8a.tar.gz ports-62d4f03572037ef54784b9e5590a6384db570e8a.zip |
Notes
-rw-r--r-- | textproc/coccigrep/Makefile | 29 | ||||
-rw-r--r-- | textproc/coccigrep/pkg-plist | 27 |
2 files changed, 13 insertions, 43 deletions
diff --git a/textproc/coccigrep/Makefile b/textproc/coccigrep/Makefile index 1ea591951855..5bd7e50599b3 100644 --- a/textproc/coccigrep/Makefile +++ b/textproc/coccigrep/Makefile @@ -3,6 +3,7 @@ PORTNAME= coccigrep PORTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= pawel@FreeBSD.org @@ -18,27 +19,23 @@ GH_TAGNAME= v${PORTVERSION} GH_COMMIT= 5ca9276 USE_PYTHON= yes -USE_PYDISTUTILS=easy_install -MANCOMPRESSED= no +USE_PYDISTUTILS=yes +PYDISTUTILS_AUTOPLIST= yes -MAN1= coccigrep.1 +PLIST_FILES= man/man1/coccigrep.1.gz \ + ${DATADIR_REL}/cocci-grep.el \ + ${DATADIR_REL}/cocci-grep.vim +PLIST_DIRS= ${DATADIR_REL} PORTDOCS= ChangeLog README.rst OPTIONS_DEFINE= DOCS -NO_STAGE= yes -.include <bsd.port.options.mk> - post-install: - ${INSTALL_MAN} ${WRKSRC}/coccigrep.1 ${MANPREFIX}/man/man1 - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.el ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.vim ${DATADIR} - -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.rst ${DOCSDIR} -.endif + ${INSTALL_MAN} ${WRKSRC}/coccigrep.1 ${STAGEDIR}${MANPREFIX}/man/man1 + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.el ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.vim ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/textproc/coccigrep/pkg-plist b/textproc/coccigrep/pkg-plist deleted file mode 100644 index e200da1c8a62..000000000000 --- a/textproc/coccigrep/pkg-plist +++ /dev/null @@ -1,27 +0,0 @@ -bin/coccigrep -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/__init__.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/__init__.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/coccigrep.cfg -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/coccigrep.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/coccigrep.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/coccigrep.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data/deref.cocci -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data/func.cocci -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data/set.cocci -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data/test.cocci -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data/used.cocci -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/coccigrep -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt -%%DATADIR%%/cocci-grep.el -%%DATADIR%%/cocci-grep.vim -@dirrm %%DATADIR%% -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep/data -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/coccigrep -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |