summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-01 23:58:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-01 23:58:33 +0000
commit8ec39b78e81d70bd130d434be98381d0248f462b (patch)
tree7244e79d29d94b415076eac942daaca721d38f22 /devel
parent- Switch to options helpers (diff)
- Add LICENSE
- Switch to PORTDOCS - Switch to options helpers
Notes
Notes: svn path=/head/; revision=402800
Diffstat (limited to 'devel')
-rw-r--r--devel/gazpacho/Makefile18
-rw-r--r--devel/gazpacho/pkg-plist6
2 files changed, 11 insertions, 13 deletions
diff --git a/devel/gazpacho/Makefile b/devel/gazpacho/Makefile
index f6a88f9f1ebf..78f852940f1c 100644
--- a/devel/gazpacho/Makefile
+++ b/devel/gazpacho/Makefile
@@ -10,25 +10,29 @@ MASTER_SITES= GNOME/sources/gazpacho/0.7
MAINTAINER= ports@FreeBSD.org
COMMENT= GUI builder for the GTK+ toolkit
+LICENSE= LGPL21 # or later (source mentions LGPL20+)
+LICENSE_FILE= ${WRKSRC}/COPYING
+
RUN_DEPENDS= ${LOCALBASE}/bin/kiwi-i18n:${PORTSDIR}/x11-toolkits/py-kiwi
BUILD_DEPENDS= ${LOCALBASE}/bin/kiwi-i18n:${PORTSDIR}/x11-toolkits/py-kiwi
-NO_BUILD= yes
-NO_ARCH= yes
+USES= desktop-file-utils gettext python
USE_GNOME= pygtk2
USE_PYTHON= distutils
-USES= desktop-file-utils gettext python
-DOCS= AUTHORS ChangeLog CONTRIBUTORS COPYING README NEWS
+NO_BUILD= yes
+NO_ARCH= yes
+
+PORTDOCS= AUTHORS ChangeLog CONTRIBUTORS COPYING README NEWS
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e 's|share/doc/gazpacho/examples|${EXAMPLESDIR}|g' ${WRKSRC}/setup.py
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for f in ${DOCS}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-. endfor
+.endfor
.include <bsd.port.mk>
diff --git a/devel/gazpacho/pkg-plist b/devel/gazpacho/pkg-plist
index dd5431b0966a..c0b5645e77e4 100644
--- a/devel/gazpacho/pkg-plist
+++ b/devel/gazpacho/pkg-plist
@@ -240,12 +240,6 @@ bin/gazpacho
%%PYTHON_SITELIBDIR%%/gazpacho/workspace.pyc
%%PYTHON_SITELIBDIR%%/gazpacho/workspace.pyo
share/applications/gazpacho.desktop
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/helloworld.glade
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/helloworld.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/uimanager.glade