aboutsummaryrefslogtreecommitdiff
path: root/deskutils/pypanel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/pypanel/Makefile')
-rw-r--r--deskutils/pypanel/Makefile56
1 files changed, 0 insertions, 56 deletions
diff --git a/deskutils/pypanel/Makefile b/deskutils/pypanel/Makefile
deleted file mode 100644
index 514da40ed684..000000000000
--- a/deskutils/pypanel/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# Created by: Florian Unglaub <flo@btw23.de>
-# $FreeBSD$
-
-PORTNAME= pypanel
-PORTVERSION= 2.4
-PORTREVISION= 12
-CATEGORIES= deskutils
-MASTER_SITES= SF
-DISTNAME= PyPanel-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Desktop panel written in Python
-
-DEPRECATED= Unmaintained, uses EOLed python27
-EXPIRATION_DATE= 2020-01-27
-
-LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-LIB_DEPENDS= libfreetype.so:print/freetype2 \
- libImlib2.so:graphics/imlib2
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Xlib/X.py:x11-toolkits/py-xlib@${PY_FLAVOR}
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
-USES= python:2.7 xorg
-USE_PYTHON= autoplist distutils
-USE_XORG= xft
-
-PORTDOCS= *
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|/usr/bin/freetype-config|${LOCALBASE}/bin/freetype-config|; \
- s|/usr/bin/imlib2-config|${LOCALBASE}/bin/imlib2-config|; \
- s|/usr/X11R6/include|${LOCALBASE}/include|; \
- s|"COPYING", "README", ||' ${WRKSRC}/setup.py
- @${REINPLACE_CMD} -e \
- 's|sysconfig\.get_python_lib()|"${PREFIX}/share"|' \
- ${WRKSRC}/setup.py ${WRKSRC}/pypanel
- @${REINPLACE_CMD} -e \
- 's|/usr/lib/libImlib2.so.1|${LOCALBASE}/lib/libImlib2.so|' \
- ${WRKSRC}/setup.py ${WRKSRC}/ppmodule.c
- @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/pypanel
- @${REINPLACE_CMD} -e 's|/usr/share/imlib2|${LOCALBASE}/share/imlib2|' \
- ${WRKSRC}/pypanelrc
-
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ppmodule.so
-
-post-install-DOCS-on:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>