aboutsummaryrefslogtreecommitdiffstats
path: root/converters/ruby-iconv/pkg-descr
blob: 143c985ad87ae41c9ed42ba643715de9d0451e6e (plain) (blame)
1
2
3
4
5
6
7
This is an iconv wrapper class for Ruby.

Note that this version is still experimental.  Report any problems to
the author.

Author: Nobuyoshi.Nakada <nobu.nokada@softhome.net>
WWW:    http://www.ruby-lang.org/raa/list.rhtml?name=iconv
f='#n28'>28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
# New ports collection makefile for:    pypanel
# Date created:             24 October 2005
# Whom:                 Florian Unglaub
#
# $FreeBSD$
#

PORTNAME=   pypanel
PORTVERSION=    2.4
CATEGORIES= deskutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= pypanel
DISTNAME=   PyPanel-${PORTVERSION}

MAINTAINER= u0@rootofallevil.net
COMMENT=    Desktop panel written in Python

LIB_DEPENDS=    freetype.9:${PORTSDIR}/print/freetype2 \
        Xft.2:${PORTSDIR}/x11-fonts/libXft \
        Imlib2.3:${PORTSDIR}/graphics/imlib2
BUILD_DEPENDS=  ${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib
RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/Xlib/X.py:${PORTSDIR}/x11-toolkits/py-xlib

USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_PYTHON= yes
USE_PYDISTUTILS=    yes

PORTDOCS=   *

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|${X11BASE}/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:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>