freebsd-ports/x11/wmdrawer/Makefile
Edwin Groothuis 975bf1ff1b [PATCH] x11/wmdrawer: UNBREAK
Fix fetch by using an other Beastie image. [1]
	Add a pkg-message to tell users how to create ~/.wmdrawerrc.
	Bump PORTVERSION for plist change.

	Reported by:		fenner's distfiles survey [1]

PR:		ports/94869
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Approved by:	maintainer timeout
2006-04-14 05:56:16 +00:00

48 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.5
PORTREVISION= 2
CATEGORIES= x11 windowmaker
MASTER_SITES= http://people.easter-eggs.org/~valos/wmdrawer/:tarball \
http://wikitest.freebsd.org/classic/img/:pixmap
DISTNAME= ${PORTNAME}-${PORTVERSION}
DISTFILES= ${EXTRACT_ONLY}:tarball \
moinmoin.png:pixmap
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= A dockapp which provides a drawer to launch applications
USE_GETOPT_LONG=yes
USE_X_PREFIX= yes
USE_GNOME= gdkpixbuf
USE_GMAKE= yes
CONFIGURE_ENV+= DOCSDIR=${DOCSDIR}
MAKE_ENV+= ${CONFIGURE_ENV}
SUB_FILES+= pkg-message
MANCOMPRESSED= yes
MAN1= wmdrawer.1x
post-patch:
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/wmdrawerrc.example
@${REINPLACE_CMD} -e "s,CFLAGS = -O3,CFLAGS +=,g; \
s,LDFLAGS =,LDFLAGS+=,g; s,PREFIX =,#PREFIX =,g; \
s,$$[(]DESTDIR[)]/usr/local,${PREFIX},g; \
s,CC =,#CC =,g; \
s,/usr/X11R6,${X11BASE},g" ${WRKSRC}/Makefile
post-install:
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/moinmoin.png ${DATADIR}/beastie.png
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>