diff options
author | miwi <miwi@FreeBSD.org> | 2009-08-30 06:00:01 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-08-30 06:00:01 +0800 |
commit | c603e6d9e06af2a9f77a9daa1afe7f98ec552fa6 (patch) | |
tree | fa3321cae113667dcffe5a449b4ab9ad1b12bc82 /x11-toolkits/py-gtk | |
parent | 7ad9775d8a9828b9cb1258591f4f6dc345e40185 (diff) | |
download | freebsd-ports-gnome-c603e6d9e06af2a9f77a9daa1afe7f98ec552fa6.tar.gz freebsd-ports-gnome-c603e6d9e06af2a9f77a9daa1afe7f98ec552fa6.tar.zst freebsd-ports-gnome-c603e6d9e06af2a9f77a9daa1afe7f98ec552fa6.zip |
- Respect really NOPORT*
Pointy hat to: miwi
Approved by: marcus
Diffstat (limited to 'x11-toolkits/py-gtk')
-rw-r--r-- | x11-toolkits/py-gtk/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/py-gtk/pkg-plist | 2 |
2 files changed, 9 insertions, 11 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile index c135297f2bf6..60bb8d174b81 100644 --- a/x11-toolkits/py-gtk/Makefile +++ b/x11-toolkits/py-gtk/Makefile @@ -7,7 +7,7 @@ PORTNAME= gtk PORTVERSION= 0.6.11 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-toolkits python MASTER_SITES= GNOME PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -30,8 +30,8 @@ USE_PYTHON= yes GNU_CONFIGURE= yes CONFIGURE_ENV= PYTHON=${PYTHON_CMD} +PORTDOCS= MAPPING EG_SRC_DIR= ${WRKSRC}/examples -EG_DST_DIR= ${PREFIX}/share/examples/py-gtk CONFLICTS= py*-gtk-2* py*-gobject-[0-9]* @@ -40,15 +40,15 @@ post-patch: post-install: .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/py-gtk - ${INSTALL_DATA} ${WRKSRC}/MAPPING ${PREFIX}/share/doc/py-gtk + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/MAPPING ${DOCSDIR} .endif .if !defined(NOPORTEXAMPLES) - ${MKDIR} ${EG_DST_DIR} - ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xvf - - ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR} - ${FIND} ${EG_DST_DIR} -type d -print | ${XARGS} ${CHMOD} 0555 - ${FIND} ${EG_DST_DIR} -type f -print | ${XARGS} ${CHMOD} 0444 + ${MKDIR} ${EXAMPLESDIR} + ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EXAMPLESDIR} -xvf - + ${CHOWN} -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR} + ${FIND} ${EXAMPLESDIR} -type d -print | ${XARGS} ${CHMOD} 0555 + ${FIND} ${EXAMPLESDIR} -type f -print | ${XARGS} ${CHMOD} 0444 .endif .include <bsd.port.mk> diff --git a/x11-toolkits/py-gtk/pkg-plist b/x11-toolkits/py-gtk/pkg-plist index 9545c60b5fef..8175de54347c 100644 --- a/x11-toolkits/py-gtk/pkg-plist +++ b/x11-toolkits/py-gtk/pkg-plist @@ -47,7 +47,6 @@ include/pygtk/pygtk.h %%PYTHON_SITELIBDIR%%/pygtk.py %%PYTHON_SITELIBDIR%%/pygtk.pyc %%PYTHON_SITELIBDIR%%/pygtk.pyo -%%PORTDOCS%%%%DOCSDIR%%/MAPPING %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gl/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gl/cone.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/gl/dots.py @@ -128,7 +127,6 @@ share/pygtk/1.2/defs/libglade.defs %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/glade %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/gl %%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%PYTHON_SITELIBDIR%%/gtk-1.2/pyglade @dirrm %%PYTHON_SITELIBDIR%%/gtk-1.2 @dirrm include/pygtk |