mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# New ports collection makefile for: XCurs
|
|
# Date created: 27 Dec 2004
|
|
# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xcurs
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= http://varg.dyndns.org/psi/files/xcurs/ \
|
|
http://freebsd.nsu.ru/distfiles/
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= An editor for new XFree86/X.Org style full-color cursors properties
|
|
|
|
USE_GNOME= pygtk2
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,g' \
|
|
${WRKSRC}/parsexcursor.py ${WRKSRC}/xcurs.py
|
|
@${REINPLACE_CMD} -e 's,gtk\.mainquit,gtk\.main_quit,' ${WRKSRC}/xcurs.py \
|
|
${WRKSRC}/gladew.py ${WRKSRC}/filesel.py
|
|
@${REINPLACE_CMD} -e 's,gtk\.mainloop,gtk\.main,' ${WRKSRC}/filesel.py
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/xcurs.py ${PREFIX}/bin/${PORTNAME}
|
|
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/filesel.py ${WRKSRC}/gladew.py \
|
|
${WRKSRC}/parsexcursor.py ${WRKSRC}/xcursorlist.py \
|
|
${PREFIX}/lib/${PORTNAME}
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/xcurs.glade ${DATADIR}
|
|
|
|
.include <bsd.port.mk>
|