1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/irc/gdesklets-irc/Makefile
Joe Marcus Clarke 29747f458a Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
2006-10-14 08:54:54 +00:00

52 lines
1.5 KiB
Makefile

# New ports collection makefile for: gdesklets-irc
# Date created: 6 May 2004
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= irc
PORTVERSION= 1.2
PORTREVISION= 4
CATEGORIES= irc gnome deskutils
MASTER_SITES= http://gdesklets.gnomedesktop.org/files/
PKGNAMEPREFIX= gdesklets-
MAINTAINER= perky@FreeBSD.org
COMMENT= An IRC display and sensor for gdesklets
RUN_DEPENDS= gdesklets:${PORTSDIR}/deskutils/gdesklets \
${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted
USE_PYTHON= yes
USE_XLIB= yes
NAME= irc
DATADIR= ${PREFIX}/share/gnome/gdesklets
LANG= ko
PKGMESSAGE= ${WRKDIR}/pkg-message
WRKSRC= ${WRKDIR}/${NAME}
do-build:
@${WRKSRC}/Install_${NAME}_Sensor.bin --nomsg ${WRKSRC}
@${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; s|%%NAME%%|${NAME}|g' > ${PKGMESSAGE}
do-install:
@${MKDIR} ${DATADIR}/Displays/${NAME}/gfx
@${MKDIR} ${DATADIR}/Sensors/${NAME}/gfx
@${INSTALL_DATA} ${WRKSRC}/${NAME}/*.py ${DATADIR}/Sensors/${NAME}/
.for ii in ${LANG}
@${MKDIR} ${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
@${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \
${DATADIR}/Sensors/${NAME}/locale/${ii}/LC_MESSAGES/
.endfor
@${INSTALL_DATA} ${WRKSRC}/*.display ${DATADIR}/Displays/${NAME}/
@${INSTALL_DATA} ${WRKSRC}/gfx/*.png ${DATADIR}/Displays/${NAME}/gfx/
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${DATADIR}/Sensors/${NAME}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>