1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/x11/wmdrawer/Makefile
Tilman Keskinoz 12e44a71d2 Add dependency on gdkpixbuf
Reported by:	bento
2003-04-23 12:39:51 +00:00

45 lines
1.2 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: wmDrawer
# Date created: Apr 6, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= wmdrawer
PORTVERSION= 0.10.0
PORTREVISION= 2
CATEGORIES= x11 windowmaker
MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/:tarball \
http://www.daemon.li/downloads/:pixmap
DISTNAME= ${PORTNAME}-${PORTVERSION}
DISTFILES= ${EXTRACT_ONLY}:tarball \
daemon.xpm:pixmap
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= j.el-rayes@daemon.li
COMMENT= A dockapp which provides a drawer to launch applications
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GNOME= gtk20 gdkpixbuf
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include `gdk-pixbuf-config --cflags`
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt `gdk-pixbuf-config --libs` -lgdk_pixbuf_xlib" DOCSDIR=${DOCSDIR}
MANCOMPRESSED= yes
MAN1= wmdrawer.1x
post-patch:
@${REINPLACE_CMD} -e "s,/usr/X11R6,${X11BASE},g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,$$[(]DESTDIR[)]/usr/local,${PREFIX},g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/daemon.xpm ${DATADIR}
.include <bsd.port.mk>