1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/deskutils/blogtk/Makefile
Rong-En Fan dbb6b60d6e - Pass maintainership to submitter
- Add a patch to deal with no categories on server
  http://sourceforge.net/tracker/index.php?func=detail&aid=1523895&group_id=87493&atid=583338

PR:		ports/100441
Submitted by:	Jean-Baptiste Quenot <jbq at caraldi.com>
2006-07-18 17:14:33 +00:00

42 lines
1.1 KiB
Makefile

# Ports collection makefile for: blogtk
# Date created: Jul 30, 2004
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= blogtk
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= jbq@caraldi.com
COMMENT= A client for Blogger, Movable Type, and other blogging systems
WRKSRC= ${WRKDIR}/BloGTK-${PORTVERSION}
USE_BZIP2= yes
USE_GNOME= pygnomeextras
USE_PYTHON= 2.3+
NO_BUILD= yes
post-patch:
@${FIND} ${WRKSRC}/src -name "*.py" | ${XARGS} ${REINPLACE_CMD} -e \
's|/usr/share|${PREFIX}/share|g ; \
s|gtk\.FALSE|False|g ; \
s|gtk\.TRUE|True|g'
do-install:
@${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/blogtk
${INSTALL_SCRIPT} ${WRKSRC}/src/*.py ${PYTHONPREFIX_SITELIBDIR}/blogtk
@${LN} -fs ${PYTHONPREFIX_SITELIBDIR}/blogtk/BloGTK.py ${PREFIX}/bin/blogtk
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.glade ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.gladep ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}
.include <bsd.port.mk>