2013-09-21 01:54:03 +02:00
|
|
|
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
2005-05-30 15:30:12 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cursor-bluecurve-theme
|
|
|
|
|
|
|
|
COMMENT= The Bluecurve X cursor themes
|
|
|
|
|
|
|
|
# we only need gdk-pixbuf for building cursorthemegen, so do not USE_GNOME
|
2006-10-14 10:54:54 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gdk-pixbuf-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20
|
2005-05-30 15:30:12 +02:00
|
|
|
|
|
|
|
MASTERDIR= ${.CURDIR}/../bluecurve-themes
|
|
|
|
|
2007-03-08 17:35:08 +01:00
|
|
|
THEMES= Bluecurve Bluecurve-inverse LBluecurve LBluecurve-inverse
|
2005-05-30 15:30:12 +02:00
|
|
|
|
|
|
|
.for t in ${THEMES}
|
|
|
|
BC_HIERS+= ${WRKSRC}/art/cursor/${t}/${t}:${PREFIX}/lib/X11/icons/${t}/cursors
|
|
|
|
.endfor
|
|
|
|
|
2013-09-21 01:54:03 +02:00
|
|
|
NO_STAGE= yes
|
2005-09-07 17:21:45 +02:00
|
|
|
post-patch:
|
|
|
|
.for t in ${THEMES}
|
|
|
|
@${REINPLACE_CMD} -e 's|dnd_|dnd-|' \
|
|
|
|
${WRKSRC}/art/cursor/${t}/${t}.cursortheme
|
|
|
|
.endfor
|
|
|
|
|
2005-05-30 15:30:12 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/art/cursor/cursorthemegen \
|
|
|
|
&& ${CC} ${CFLAGS} `pkg-config --cflags --libs gdk-pixbuf-2.0` \
|
|
|
|
-o ${WRKSRC}/cursorthemegen main.c themefile.c
|
|
|
|
.for t in ${THEMES}
|
|
|
|
cd ${WRKSRC}/art/cursor/${t} \
|
|
|
|
&& ${WRKSRC}/cursorthemegen ${t}.cursortheme ${t}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include "${MASTERDIR}/bsd.bluecurve.mk"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
BUILD_DEPENDS+= xcursorgen:${PORTSDIR}/x11/xcursorgen # needed by cursorthemegen
|
|
|
|
RUN_DEPENDS+= xcursorgen:${PORTSDIR}/x11/xcursorgen # for the lib/X11/icons directory
|
2005-05-30 15:30:12 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|